Enum Attribute
- java.lang.Object
-
- java.lang.Enum<Attribute>
-
- com.nimbusds.infinispan.persistence.dynamodb.config.Attribute
-
- All Implemented Interfaces:
Serializable
,Comparable<Attribute>
public enum Attribute extends 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 tofalse
.ENABLE_CONTINUOUS_BACKUPS
The XML attribute to enable continuous backups / point in time recovery, defaults tofalse
.ENABLE_STREAM
The XML attribute to enable a stream for a global table, defaults tofalse
.ENABLE_TTL
The XML attribute to enable DynamoDB item expiration, defaults tofalse
.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(String localName)
Returns the matching attribute for the specified local name.String
getLocalName()
Gets the local name of this attribute.static Attribute
valueOf(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.
-
-
-
Enum Constant Detail
-
ENDPOINT
public static final Attribute ENDPOINT
The XML attribute for the DynamoDB endpoint. If set region is overridden.
-
ITEM_TRANSFORMER
public static final Attribute ITEM_TRANSFORMER
The XML attribute for the DynamoDB item transformer.
-
QUERY_EXECUTOR
public static final Attribute QUERY_EXECUTOR
The XML attribute for the DynamoDB query executor.
-
INDEXED_ATTRIBUTES
public static final Attribute INDEXED_ATTRIBUTES
The XML attribute for the indexed DynamoDB table attributes.
-
CONSISTENT_READS
public static final Attribute CONSISTENT_READS
The XML attribute consistent reads, defaults tofalse
.
-
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 tofalse
.
-
ENABLE_CONTINUOUS_BACKUPS
public static final Attribute ENABLE_CONTINUOUS_BACKUPS
The XML attribute to enable continuous backups / point in time recovery, defaults tofalse
.
-
ENABLE_TTL
public static final Attribute ENABLE_TTL
The XML attribute to enable DynamoDB item expiration, defaults tofalse
.
-
PURGE_LIMIT
public static final Attribute PURGE_LIMIT
The XML attribute for limiting the number of expired entries per run of the purge task.
-
HTTP_PROXY_HOST
public static final Attribute HTTP_PROXY_HOST
The XML attribute for specifying an HTTP proxy host.
-
HTTP_PROXY_PORT
public static final Attribute HTTP_PROXY_PORT
The XML attribute for specifying an HTTP proxy port.
-
HMAC_SHA256_KEY
public static final Attribute HMAC_SHA256_KEY
The HMAC SHA-256 key, BASE-64 encoded.
-
-
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(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 nameNullPointerException
- if the argument is null
-
getLocalName
public String getLocalName()
Gets the local name of this attribute.- Returns:
- The local name.
-
-