@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableLocalSecondaryIndex extends Object implements Serializable, Cloneable, StructuredPojo
Information about a local secondary index for a DynamoDB table.
Constructor and Description |
---|
AwsDynamoDbTableLocalSecondaryIndex() |
Modifier and Type | Method and Description |
---|---|
AwsDynamoDbTableLocalSecondaryIndex |
clone() |
boolean |
equals(Object obj) |
String |
getIndexArn()
The ARN of the index.
|
String |
getIndexName()
The name of the index.
|
List<AwsDynamoDbTableKeySchema> |
getKeySchema()
The complete key schema for the index.
|
AwsDynamoDbTableProjection |
getProjection()
Attributes that are copied from the table into the index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIndexArn(String indexArn)
The ARN of the index.
|
void |
setIndexName(String indexName)
The name of the index.
|
void |
setKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The complete key schema for the index.
|
void |
setProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into the index.
|
String |
toString()
Returns a string representation of this object.
|
AwsDynamoDbTableLocalSecondaryIndex |
withIndexArn(String indexArn)
The ARN of the index.
|
AwsDynamoDbTableLocalSecondaryIndex |
withIndexName(String indexName)
The name of the index.
|
AwsDynamoDbTableLocalSecondaryIndex |
withKeySchema(AwsDynamoDbTableKeySchema... keySchema)
The complete key schema for the index.
|
AwsDynamoDbTableLocalSecondaryIndex |
withKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The complete key schema for the index.
|
AwsDynamoDbTableLocalSecondaryIndex |
withProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into the index.
|
public void setIndexArn(String indexArn)
The ARN of the index.
indexArn
- The ARN of the index.public String getIndexArn()
The ARN of the index.
public AwsDynamoDbTableLocalSecondaryIndex withIndexArn(String indexArn)
The ARN of the index.
indexArn
- The ARN of the index.public void setIndexName(String indexName)
The name of the index.
indexName
- The name of the index.public String getIndexName()
The name of the index.
public AwsDynamoDbTableLocalSecondaryIndex withIndexName(String indexName)
The name of the index.
indexName
- The name of the index.public List<AwsDynamoDbTableKeySchema> getKeySchema()
The complete key schema for the index.
public void setKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The complete key schema for the index.
keySchema
- The complete key schema for the index.public AwsDynamoDbTableLocalSecondaryIndex withKeySchema(AwsDynamoDbTableKeySchema... keySchema)
The complete key schema for the index.
NOTE: This method appends the values to the existing list (if any). Use
setKeySchema(java.util.Collection)
or withKeySchema(java.util.Collection)
if you want to
override the existing values.
keySchema
- The complete key schema for the index.public AwsDynamoDbTableLocalSecondaryIndex withKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The complete key schema for the index.
keySchema
- The complete key schema for the index.public void setProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
projection
- Attributes that are copied from the table into the index. These are in addition to the primary key
attributes and index key attributes, which are automatically projected.public AwsDynamoDbTableProjection getProjection()
Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
public AwsDynamoDbTableLocalSecondaryIndex withProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
projection
- Attributes that are copied from the table into the index. These are in addition to the primary key
attributes and index key attributes, which are automatically projected.public String toString()
toString
in class Object
Object.toString()
public AwsDynamoDbTableLocalSecondaryIndex clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.