@Generated(value="software.amazon.awssdk:codegen") public class BatchCreateIndex extends Object implements StructuredPojo, ToCopyableBuilder<BatchCreateIndex.Builder,BatchCreateIndex>
Creates an index object inside of a BatchRead operation. For more information, see CreateIndex and BatchReadRequest$Operations.
Modifier and Type | Class and Description |
---|---|
static interface |
BatchCreateIndex.Builder |
Modifier and Type | Method and Description |
---|---|
String |
batchReferenceName()
The batch reference name.
|
static BatchCreateIndex.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isUnique()
Indicates whether the attribute that is being indexed has unique values or not.
|
String |
linkName()
The name of the link between the parent object and the index object.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<AttributeKey> |
orderedIndexedAttributeList()
Specifies the attributes that should be indexed on.
|
ObjectReference |
parentReference()
A reference to the parent object that contains the index object.
|
static Class<? extends BatchCreateIndex.Builder> |
serializableBuilderClass() |
BatchCreateIndex.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<AttributeKey> orderedIndexedAttributeList()
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean isUnique()
Indicates whether the attribute that is being indexed has unique values or not.
public ObjectReference parentReference()
A reference to the parent object that contains the index object.
public String linkName()
The name of the link between the parent object and the index object.
public String batchReferenceName()
The batch reference name. See Batches for more information.
public BatchCreateIndex.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BatchCreateIndex.Builder,BatchCreateIndex>
public static BatchCreateIndex.Builder builder()
public static Class<? extends BatchCreateIndex.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.