public class GlobalSecondaryIndexInfo
extends java.lang.Object
implements java.io.Serializable
Represents the properties of a global secondary index for the table when the backup was created.
Constructor and Description |
---|
GlobalSecondaryIndexInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIndexName()
The name of the global secondary index.
|
java.util.List<KeySchemaElement> |
getKeySchema()
The complete key schema for a global secondary index, which consists of
one or more pairs of attribute names and key types:
|
Projection |
getProjection()
Represents attributes that are copied (projected) from the table into the
global secondary index.
|
ProvisionedThroughput |
getProvisionedThroughput()
Represents the provisioned throughput settings for the specified global
secondary index.
|
int |
hashCode() |
void |
setIndexName(java.lang.String indexName)
The name of the global secondary index.
|
void |
setKeySchema(java.util.Collection<KeySchemaElement> keySchema)
The complete key schema for a global secondary index, which consists of
one or more pairs of attribute names and key types:
|
void |
setProjection(Projection projection)
Represents attributes that are copied (projected) from the table into the
global secondary index.
|
void |
setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global
secondary index.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GlobalSecondaryIndexInfo |
withIndexName(java.lang.String indexName)
The name of the global secondary index.
|
GlobalSecondaryIndexInfo |
withKeySchema(java.util.Collection<KeySchemaElement> keySchema)
The complete key schema for a global secondary index, which consists of
one or more pairs of attribute names and key types:
|
GlobalSecondaryIndexInfo |
withKeySchema(KeySchemaElement... keySchema)
The complete key schema for a global secondary index, which consists of
one or more pairs of attribute names and key types:
|
GlobalSecondaryIndexInfo |
withProjection(Projection projection)
Represents attributes that are copied (projected) from the table into the
global secondary index.
|
GlobalSecondaryIndexInfo |
withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global
secondary index.
|
public java.lang.String getIndexName()
The name of the global secondary index.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
The name of the global secondary index.
public void setIndexName(java.lang.String indexName)
The name of the global secondary index.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
indexName
- The name of the global secondary index.
public GlobalSecondaryIndexInfo withIndexName(java.lang.String indexName)
The name of the global secondary index.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
indexName
- The name of the global secondary index.
public java.util.List<KeySchemaElement> getKeySchema()
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
public void setKeySchema(java.util.Collection<KeySchemaElement> keySchema)
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
keySchema
- The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
public GlobalSecondaryIndexInfo withKeySchema(KeySchemaElement... keySchema)
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
Returns a reference to this object so that method calls can be chained together.
keySchema
- The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
public GlobalSecondaryIndexInfo withKeySchema(java.util.Collection<KeySchemaElement> keySchema)
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
Returns a reference to this object so that method calls can be chained together.
keySchema
- The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
HASH
- partition key
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB' usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
public Projection getProjection()
Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
public void setProjection(Projection projection)
Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
projection
- Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
public GlobalSecondaryIndexInfo withProjection(Projection projection)
Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Returns a reference to this object so that method calls can be chained together.
projection
- Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
public ProvisionedThroughput getProvisionedThroughput()
Represents the provisioned throughput settings for the specified global secondary index.
Represents the provisioned throughput settings for the specified global secondary index.
public void setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
provisionedThroughput
- Represents the provisioned throughput settings for the specified global secondary index.
public GlobalSecondaryIndexInfo withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
Returns a reference to this object so that method calls can be chained together.
provisionedThroughput
- Represents the provisioned throughput settings for the specified global secondary index.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.