@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 |
getApplicationId()
The identifier of the Amazon Q Business 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 Business index.
|
String |
getDisplayName()
A name for the Amazon Q Business index.
|
List<Tag> |
getTags()
A list of key-value pairs that identify or categorize the index.
|
String |
getType()
The index type that's suitable for your needs.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier of the Amazon Q Business 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 Business index.
|
void |
setDisplayName(String displayName)
A name for the Amazon Q Business index.
|
void |
setTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the index.
|
void |
setType(String type)
The index type that's suitable for your needs.
|
String |
toString()
Returns a string representation of this object.
|
CreateIndexRequest |
withApplicationId(String applicationId)
The identifier of the Amazon Q Business 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 Business index.
|
CreateIndexRequest |
withDisplayName(String displayName)
A name for the Amazon Q Business 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.
|
CreateIndexRequest |
withType(IndexType type)
The index type that's suitable for your needs.
|
CreateIndexRequest |
withType(String type)
The index type that's suitable for your needs.
|
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 setApplicationId(String applicationId)
The identifier of the Amazon Q Business application using the index.
applicationId
- The identifier of the Amazon Q Business application using the index.public String getApplicationId()
The identifier of the Amazon Q Business application using the index.
public CreateIndexRequest withApplicationId(String applicationId)
The identifier of the Amazon Q Business application using the index.
applicationId
- The identifier of the Amazon Q Business application using the index.public void setDisplayName(String displayName)
A name for the Amazon Q Business index.
displayName
- A name for the Amazon Q Business index.public String getDisplayName()
A name for the Amazon Q Business index.
public CreateIndexRequest withDisplayName(String displayName)
A name for the Amazon Q Business index.
displayName
- A name for the Amazon Q Business index.public void setType(String type)
The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.
type
- The index type that's suitable for your needs. For more information on what's included in each type of
index, see Amazon
Q Business tiers.IndexType
public String getType()
The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.
IndexType
public CreateIndexRequest withType(String type)
The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.
type
- The index type that's suitable for your needs. For more information on what's included in each type of
index, see Amazon
Q Business tiers.IndexType
public CreateIndexRequest withType(IndexType type)
The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.
type
- The index type that's suitable for your needs. For more information on what's included in each type of
index, see Amazon
Q Business tiers.IndexType
public void setDescription(String description)
A description for the Amazon Q Business index.
description
- A description for the Amazon Q Business index.public String getDescription()
A description for the Amazon Q Business index.
public CreateIndexRequest withDescription(String description)
A description for the Amazon Q Business index.
description
- A description for the Amazon Q Business 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 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 String toString()
toString
in class Object
Object.toString()
public CreateIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()