@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIndexRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateIndexRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIndexRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryArn()
The ARN of the directory where the index should be created.
|
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 |
setDirectoryArn(String directoryArn)
The ARN of the directory where the index should be created.
|
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.
|
CreateIndexRequest |
withDirectoryArn(String directoryArn)
The ARN of the directory where the index should be created.
|
CreateIndexRequest |
withIsUnique(Boolean isUnique)
Indicates whether the attribute that is being indexed has unique values or not.
|
CreateIndexRequest |
withLinkName(String linkName)
The name of the link between the parent object and the index object.
|
CreateIndexRequest |
withOrderedIndexedAttributeList(AttributeKey... orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
CreateIndexRequest |
withOrderedIndexedAttributeList(Collection<AttributeKey> orderedIndexedAttributeList)
Specifies the attributes that should be indexed on.
|
CreateIndexRequest |
withParentReference(ObjectReference parentReference)
A reference to the parent object that contains the index object.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryArn(String directoryArn)
The ARN of the directory where the index should be created.
directoryArn
- The ARN of the directory where the index should be created.public String getDirectoryArn()
The ARN of the directory where the index should be created.
public CreateIndexRequest withDirectoryArn(String directoryArn)
The ARN of the directory where the index should be created.
directoryArn
- The ARN of the directory where the index should be created.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 CreateIndexRequest 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 CreateIndexRequest 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 CreateIndexRequest 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 CreateIndexRequest 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 CreateIndexRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.