@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateIndexRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateIndexRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
This value helps ensure idempotency.
|
Map<String,String> |
getTags()
The specified tags are attached only to the index created in this Amazon Web Services Region.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
This value helps ensure idempotency.
|
void |
setTags(Map<String,String> tags)
The specified tags are attached only to the index created in this Amazon Web Services Region.
|
String |
toString()
Returns a string representation of this object.
|
CreateIndexRequest |
withClientToken(String clientToken)
This value helps ensure idempotency.
|
CreateIndexRequest |
withTags(Map<String,String> tags)
The specified tags are attached only to the index created in this Amazon Web Services Region.
|
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, withSdkRequestTimeoutpublic void setClientToken(String clientToken)
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.
clientToken - This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation
of duplicate versions. We recommend that you generate a UUID-type value to ensure the
uniqueness of your index.public String getClientToken()
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.
public CreateIndexRequest withClientToken(String clientToken)
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.
clientToken - This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation
of duplicate versions. We recommend that you generate a UUID-type value to ensure the
uniqueness of your index.public Map<String,String> getTags()
The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.
public void setTags(Map<String,String> tags)
The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.
tags - The specified tags are attached only to the index created in this Amazon Web Services Region. The tags
aren't attached to any of the resources listed in the index.public CreateIndexRequest withTags(Map<String,String> tags)
The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.
tags - The specified tags are attached only to the index created in this Amazon Web Services Region. The tags
aren't attached to any of the resources listed in the index.public CreateIndexRequest addTagsEntry(String key, String value)
public CreateIndexRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateIndexRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()