Enum Attribute

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Attribute>

    public enum Attribute
    extends java.lang.Enum<Attribute>
    DynamoDB store XML configuration attributes.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      APPLY_RANGE_KEY
      The XML attribute for the optional range key to apply to all DynamoDB operations.
      CONSISTENT_READS
      The XML attribute consistent reads, defaults to false.
      ENABLE_CONTINUOUS_BACKUPS
      The XML attribute to enable continuous backups / point in time recovery, defaults to false.
      ENABLE_STREAM
      The XML attribute to enable a stream for a global table, defaults to false.
      ENABLE_TTL
      The XML attribute to enable DynamoDB item expiration, defaults to false.
      ENCRYPTION_AT_REST
      The XML attribute for creating the DynamoDB table with encryption at rest.
      ENDPOINT
      The XML attribute for the DynamoDB endpoint.
      HMAC_SHA256_KEY
      The HMAC SHA-256 key, BASE-64 encoded.
      HTTP_PROXY_HOST
      The XML attribute for specifying an HTTP proxy host.
      HTTP_PROXY_PORT
      The XML attribute for specifying an HTTP proxy port.
      INDEXED_ATTRIBUTES
      The XML attribute for the indexed DynamoDB table attributes.
      ITEM_TRANSFORMER
      The XML attribute for the DynamoDB item transformer.
      PURGE_LIMIT
      The XML attribute for limiting the number of expired entries per run of the purge task.
      QUERY_EXECUTOR
      The XML attribute for the DynamoDB query executor.
      RANGE_KEY_VALUE
      The XML attribute for the optional value of the range key.
      READ_CAPACITY
      The XML attribute for the read capacity to provision when creating a new DynamoDB table and indices.
      REGION
      The XML attribute for the DynamoDB region.
      TABLE_PREFIX
      The XML attribute for the optional DynamoDB table prefix to use.
      UNKNOWN
      Unknown XML attribute.
      WRITE_CAPACITY
      The XML attribute for the write capacity to provision when creating a new DynamoDB table and indices.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Attribute forName​(java.lang.String localName)
      Returns the matching attribute for the specified local name.
      java.lang.String getLocalName()
      Gets the local name of this attribute.
      static Attribute valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Attribute[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ENDPOINT

        public static final Attribute ENDPOINT
        The XML attribute for the DynamoDB endpoint. If set region is overridden.
      • REGION

        public static final Attribute REGION
        The XML attribute for the DynamoDB region.
      • READ_CAPACITY

        public static final Attribute READ_CAPACITY
        The XML attribute for the read capacity to provision when creating a new DynamoDB table and indices.
      • WRITE_CAPACITY

        public static final Attribute WRITE_CAPACITY
        The XML attribute for the write capacity to provision when creating a new DynamoDB table and indices.
      • ENCRYPTION_AT_REST

        public static final Attribute ENCRYPTION_AT_REST
        The XML attribute for creating the DynamoDB table with encryption at rest.
      • TABLE_PREFIX

        public static final Attribute TABLE_PREFIX
        The XML attribute for the optional DynamoDB table prefix to use.
      • APPLY_RANGE_KEY

        public static final Attribute APPLY_RANGE_KEY
        The XML attribute for the optional range key to apply to all DynamoDB operations.
      • RANGE_KEY_VALUE

        public static final Attribute RANGE_KEY_VALUE
        The XML attribute for the optional value of the range key.
      • ENABLE_STREAM

        public static final Attribute ENABLE_STREAM
        The XML attribute to enable a stream for a global table, defaults to false.
      • ENABLE_CONTINUOUS_BACKUPS

        public static final Attribute ENABLE_CONTINUOUS_BACKUPS
        The XML attribute to enable continuous backups / point in time recovery, defaults to false.
      • ENABLE_TTL

        public static final Attribute ENABLE_TTL
        The XML attribute to enable DynamoDB item expiration, defaults to false.
      • PURGE_LIMIT

        public static final Attribute PURGE_LIMIT
        The XML attribute for limiting the number of expired entries per run of the purge task.
    • Method Detail

      • values

        public static Attribute[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Attribute c : Attribute.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Attribute valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getLocalName

        public java.lang.String getLocalName()
        Gets the local name of this attribute.
        Returns:
        The local name.
      • forName

        public static Attribute forName​(java.lang.String localName)
        Returns the matching attribute for the specified local name.
        Parameters:
        localName - The local name.
        Returns:
        The attribute.