@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateIndex extends Object implements Serializable, Cloneable, StructuredPojo
Creates an index object inside of a BatchRead operation. For more information, see CreateIndex and BatchReadRequest$Operations.
Constructor and Description |
---|
BatchCreateIndex() |
Modifier and Type | Method and Description |
---|---|
BatchCreateIndex |
clone() |
boolean |
equals(Object obj) |
String |
getBatchReferenceName()
The batch reference name.
|
Boolean |
getIsUnique()
Indicates whether the attribute that is being indexed has unique values or not.
|
String |
getLinkName()
The name of the link between the parent object and the index object.
|
List<AttributeKey> |
getOrderedIndexedAttributeList()
Specifies the attributes that should be indexed on.
|
ObjectReference |
getParentReference()
A reference to the parent object that contains the index object.
|
int |
hashCode() |
Boolean |
isUnique()
Indicates whether the attribute that is being indexed has unique values or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchReferenceName(String batchReferenceName)
The batch reference name.
|
void |
setIsUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
|
void |
setLinkName(String linkName)
The name of the link between the parent object and the index object.
|
void |
setOrderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
void |
setParentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BatchCreateIndex |
withBatchReferenceName(String batchReferenceName)
The batch reference name.
|
BatchCreateIndex |
withIsUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
|
BatchCreateIndex |
withLinkName(String linkName)
The name of the link between the parent object and the index object.
|
BatchCreateIndex |
withOrderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
BatchCreateIndex |
withOrderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
BatchCreateIndex |
withParentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
|
public List<AttributeKey> getOrderedIndexedAttributeList()
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
public void setOrderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
orderedIndexedAttributeList
- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.public BatchCreateIndex withOrderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
NOTE: This method appends the values to the existing list (if any). Use
setOrderedIndexedAttributeList(java.util.Collection)
or
withOrderedIndexedAttributeList(java.util.Collection)
if you want to override the existing values.
orderedIndexedAttributeList
- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.public BatchCreateIndex withOrderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on. Currently only a single attribute is supported.
orderedIndexedAttributeList
- Specifies the attributes that should be indexed on. Currently only a single attribute is supported.public void setIsUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
isUnique
- Indicates whether the attribute that is being indexed has unique values or not.public Boolean getIsUnique()
Indicates whether the attribute that is being indexed has unique values or not.
public BatchCreateIndex withIsUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
isUnique
- Indicates whether the attribute that is being indexed has unique values or not.public Boolean isUnique()
Indicates whether the attribute that is being indexed has unique values or not.
public void setParentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
parentReference
- A reference to the parent object that contains the index object.public ObjectReference getParentReference()
A reference to the parent object that contains the index object.
public BatchCreateIndex withParentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
parentReference
- A reference to the parent object that contains the index object.public void setLinkName(String linkName)
The name of the link between the parent object and the index object.
linkName
- The name of the link between the parent object and the index object.public String getLinkName()
The name of the link between the parent object and the index object.
public BatchCreateIndex withLinkName(String linkName)
The name of the link between the parent object and the index object.
linkName
- The name of the link between the parent object and the index object.public void setBatchReferenceName(String batchReferenceName)
The batch reference name. See Batches for more information.
batchReferenceName
- The batch reference name. See Batches
for more information.public String getBatchReferenceName()
The batch reference name. See Batches for more information.
public BatchCreateIndex withBatchReferenceName(String batchReferenceName)
The batch reference name. See Batches for more information.
batchReferenceName
- The batch reference name. See Batches
for more information.public String toString()
toString
in class Object
Object.toString()
public BatchCreateIndex clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.