@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() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The identifier of the Amazon Q application using the index.
|
IndexCapacityConfiguration |
getCapacityConfiguration()
The capacity units you want to provision for your index.
|
String |
getClientToken()
A token that you provide to identify the request to create an index.
|
String |
getDescription()
A description for the Amazon Q index.
|
String |
getDisplayName()
A name for the Amazon Q index.
|
List<Tag> |
getTags()
A list of key-value pairs that identify or categorize the index.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier of the Amazon Q application using the index.
|
void |
setCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The capacity units you want to provision for your index.
|
void |
setClientToken(String clientToken)
A token that you provide to identify the request to create an index.
|
void |
setDescription(String description)
A description for the Amazon Q index.
|
void |
setDisplayName(String displayName)
A name for the Amazon Q index.
|
void |
setTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the index.
|
String |
toString()
Returns a string representation of this object.
|
CreateIndexRequest |
withApplicationId(String applicationId)
The identifier of the Amazon Q application using the index.
|
CreateIndexRequest |
withCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The capacity units you want to provision for your index.
|
CreateIndexRequest |
withClientToken(String clientToken)
A token that you provide to identify the request to create an index.
|
CreateIndexRequest |
withDescription(String description)
A description for the Amazon Q index.
|
CreateIndexRequest |
withDisplayName(String displayName)
A name for the Amazon Q index.
|
CreateIndexRequest |
withTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the index.
|
CreateIndexRequest |
withTags(Tag... tags)
A list of key-value pairs that identify or categorize the index.
|
addHandlerContext, copyBaseTo, 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 setApplicationId(String applicationId)
The identifier of the Amazon Q application using the index.
applicationId - The identifier of the Amazon Q application using the index.public String getApplicationId()
The identifier of the Amazon Q application using the index.
public CreateIndexRequest withApplicationId(String applicationId)
The identifier of the Amazon Q application using the index.
applicationId - The identifier of the Amazon Q application using the index.public void setCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
capacityConfiguration - The capacity units you want to provision for your index. You can add and remove capacity to fit your usage
needs.public IndexCapacityConfiguration getCapacityConfiguration()
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
public CreateIndexRequest withCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
capacityConfiguration - The capacity units you want to provision for your index. You can add and remove capacity to fit your usage
needs.public void setClientToken(String clientToken)
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex API with the same client token will create only one index.
clientToken - A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex API with the same client token will create only one index.public String getClientToken()
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex API with the same client token will create only one index.
CreateIndex API with the same client token will create only one index.public CreateIndexRequest withClientToken(String clientToken)
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex API with the same client token will create only one index.
clientToken - A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex API with the same client token will create only one index.public void setDescription(String description)
A description for the Amazon Q index.
description - A description for the Amazon Q index.public String getDescription()
A description for the Amazon Q index.
public CreateIndexRequest withDescription(String description)
A description for the Amazon Q index.
description - A description for the Amazon Q index.public void setDisplayName(String displayName)
A name for the Amazon Q index.
displayName - A name for the Amazon Q index.public String getDisplayName()
A name for the Amazon Q index.
public CreateIndexRequest withDisplayName(String displayName)
A name for the Amazon Q index.
displayName - A name for the Amazon Q index.public List<Tag> getTags()
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
public void setTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the index. You can also use tags to help control
access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of
the following symbols: _ . : / = + - @.public CreateIndexRequest withTags(Tag... tags)
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - A list of key-value pairs that identify or categorize the index. You can also use tags to help control
access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of
the following symbols: _ . : / = + - @.public CreateIndexRequest withTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the index. You can also use tags to help control
access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of
the following symbols: _ . : / = + - @.public String toString()
toString in class ObjectObject.toString()public CreateIndexRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.