@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 |
getDescription()
A description for the index.
|
String |
getName()
The name for the new index.
|
String |
getRoleArn()
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the index.
|
void |
setName(String name)
The name for the new index.
|
void |
setRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
String |
toString()
Returns a string representation of this object.
|
CreateIndexRequest |
withDescription(String description)
A description for the index.
|
CreateIndexRequest |
withName(String name)
The name for the new index.
|
CreateIndexRequest |
withRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
CreateIndexRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
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 setName(String name)
The name for the new index.
name
- The name for the new index.public String getName()
The name for the new index.
public CreateIndexRequest withName(String name)
The name for the new index.
name
- The name for the new index.public void setRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also
the role used when you use the BatchPutDocument
operation to index documents from an Amazon S3
bucket.
roleArn
- An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This
is also the role used when you use the BatchPutDocument
operation to index documents from an
Amazon S3 bucket.public String getRoleArn()
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also
the role used when you use the BatchPutDocument
operation to index documents from an Amazon S3
bucket.
BatchPutDocument
operation to index documents from an
Amazon S3 bucket.public CreateIndexRequest withRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also
the role used when you use the BatchPutDocument
operation to index documents from an Amazon S3
bucket.
roleArn
- An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This
is also the role used when you use the BatchPutDocument
operation to index documents from an
Amazon S3 bucket.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration
- The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
Amazon Kendra doesn't support asymmetric CMKs.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
public CreateIndexRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration
- The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
Amazon Kendra doesn't support asymmetric CMKs.public void setDescription(String description)
A description for the index.
description
- A description for the index.public String getDescription()
A description for the index.
public CreateIndexRequest withDescription(String description)
A description for the index.
description
- A description for the index.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.