@Generated(value="software.amazon.awssdk:codegen") public final class CreateGlobalSecondaryIndexAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
Represents a new global secondary index to be added to an existing table.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateGlobalSecondaryIndexAction.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateGlobalSecondaryIndexAction.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasKeySchema()
Returns true if the KeySchema property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
indexName()
The name of the global secondary index to be created.
|
List<KeySchemaElement> |
keySchema()
The key schema for the global secondary index.
|
Projection |
projection()
Represents attributes that are copied (projected) from the table into an index.
|
ProvisionedThroughput |
provisionedThroughput()
Represents the provisioned throughput settings for the specified global secondary index.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateGlobalSecondaryIndexAction.Builder> |
serializableBuilderClass() |
CreateGlobalSecondaryIndexAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String indexName()
The name of the global secondary index to be created.
public boolean hasKeySchema()
public List<KeySchemaElement> keySchema()
The key schema for the global secondary index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasKeySchema()
to see if a value was sent in this field.
public Projection projection()
Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
public ProvisionedThroughput provisionedThroughput()
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
public CreateGlobalSecondaryIndexAction.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
public static CreateGlobalSecondaryIndexAction.Builder builder()
public static Class<? extends CreateGlobalSecondaryIndexAction.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.