@Generated(value="software.amazon.awssdk:codegen") public final class PartitionIndexDescriptor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PartitionIndexDescriptor.Builder,PartitionIndexDescriptor>
A descriptor for a partition index in a table.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PartitionIndexDescriptor.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PartitionIndexDescriptor.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasKeys()
Returns true if the Keys 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 partition index.
|
PartitionIndexStatus |
indexStatus()
The status of the partition index.
|
String |
indexStatusAsString()
The status of the partition index.
|
List<KeySchemaElement> |
keys()
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PartitionIndexDescriptor.Builder> |
serializableBuilderClass() |
PartitionIndexDescriptor.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String indexName()
The name of the partition index.
public boolean hasKeys()
public List<KeySchemaElement> keys()
A list of one or more keys, as KeySchemaElement structures, for the partition index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasKeys() to see if a value was sent in this field.
KeySchemaElement structures, for the partition index.public PartitionIndexStatus indexStatus()
The status of the partition index.
If the service returns an enum value that is not available in the current SDK version, indexStatus will
return PartitionIndexStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from indexStatusAsString().
PartitionIndexStatuspublic String indexStatusAsString()
The status of the partition index.
If the service returns an enum value that is not available in the current SDK version, indexStatus will
return PartitionIndexStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from indexStatusAsString().
PartitionIndexStatuspublic PartitionIndexDescriptor.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PartitionIndexDescriptor.Builder,PartitionIndexDescriptor>public static PartitionIndexDescriptor.Builder builder()
public static Class<? extends PartitionIndexDescriptor.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.