Enum AccessControl
- All Implemented Interfaces:
Serializable,Comparable<AccessControl>
Indicates who can read a change set's content. You also use these values to filter ListChangeSets and
ListCurationProposals. Valid values:
-
ACL_RESTRICTED- Some callers can't read the content. The restriction comes from one of the following: the access control of one of the change set's operations, the change set'saccessControlConfig, or the current access control of a node that one of its operations deletes, mentions without its own access control, or connects to through an edge operation (an endpoint outside the change set, or either endpoint of a deleted edge). A node whose current access control AWS Context can't read also makes the change setACL_RESTRICTED. -
NO_ACL- None of these restrictions applies.
A change set that loads an ontology schema is never ACL_RESTRICTED. If you specify any other value as a
filter, the request fails with ValidationException.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessControlUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<AccessControl> toString()static AccessControlReturns the enum constant of this type with the specified name.static AccessControl[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACL_RESTRICTED
-
NO_ACL
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<AccessControl>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- AccessControl corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownAccessControls
-