Enum AccessControl

java.lang.Object
java.lang.Enum<AccessControl>
software.amazon.awssdk.services.context.model.AccessControl
All Implemented Interfaces:
Serializable, Comparable<AccessControl>

@Generated("software.amazon.awssdk:codegen") public enum AccessControl extends Enum<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's accessControlConfig, 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 set ACL_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 Details

    • ACL_RESTRICTED

      public static final AccessControl ACL_RESTRICTED
    • NO_ACL

      public static final AccessControl NO_ACL
    • UNKNOWN_TO_SDK_VERSION

      public static final AccessControl UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static AccessControl[] 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

      public static AccessControl valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AccessControl>
    • fromValue

      public static AccessControl fromValue(String value)
      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

      public static Set<AccessControl> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known AccessControls