@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFaqRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFaqRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFaqRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the FAQ.
|
String |
getIndexId()
The identifier of the index that contains the FAQ.
|
String |
getName()
The name that should be associated with the FAQ.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs.
|
S3Path |
getS3Path()
The S3 location of the FAQ input data.
|
List<Tag> |
getTags()
A list of key-value pairs that identify the FAQ.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the FAQ.
|
void |
setIndexId(String indexId)
The identifier of the index that contains the FAQ.
|
void |
setName(String name)
The name that should be associated with the FAQ.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs.
|
void |
setS3Path(S3Path s3Path)
The S3 location of the FAQ input data.
|
void |
setTags(Collection<Tag> tags)
A list of key-value pairs that identify the FAQ.
|
String |
toString()
Returns a string representation of this object.
|
CreateFaqRequest |
withDescription(String description)
A description of the FAQ.
|
CreateFaqRequest |
withIndexId(String indexId)
The identifier of the index that contains the FAQ.
|
CreateFaqRequest |
withName(String name)
The name that should be associated with the FAQ.
|
CreateFaqRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs.
|
CreateFaqRequest |
withS3Path(S3Path s3Path)
The S3 location of the FAQ input data.
|
CreateFaqRequest |
withTags(Collection<Tag> tags)
A list of key-value pairs that identify the FAQ.
|
CreateFaqRequest |
withTags(Tag... tags)
A list of key-value pairs that identify the FAQ.
|
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 setIndexId(String indexId)
The identifier of the index that contains the FAQ.
indexId
- The identifier of the index that contains the FAQ.public String getIndexId()
The identifier of the index that contains the FAQ.
public CreateFaqRequest withIndexId(String indexId)
The identifier of the index that contains the FAQ.
indexId
- The identifier of the index that contains the FAQ.public void setName(String name)
The name that should be associated with the FAQ.
name
- The name that should be associated with the FAQ.public String getName()
The name that should be associated with the FAQ.
public CreateFaqRequest withName(String name)
The name that should be associated with the FAQ.
name
- The name that should be associated with the FAQ.public void setDescription(String description)
A description of the FAQ.
description
- A description of the FAQ.public String getDescription()
A description of the FAQ.
public CreateFaqRequest withDescription(String description)
A description of the FAQ.
description
- A description of the FAQ.public void setS3Path(S3Path s3Path)
The S3 location of the FAQ input data.
s3Path
- The S3 location of the FAQ input data.public S3Path getS3Path()
The S3 location of the FAQ input data.
public CreateFaqRequest withS3Path(S3Path s3Path)
The S3 location of the FAQ input data.
s3Path
- The S3 location of the FAQ input data.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs.
For more information, see IAM Roles
for Amazon Kendra.public String getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.
public CreateFaqRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs.
For more information, see IAM Roles
for Amazon Kendra.public List<Tag> getTags()
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
public void setTags(Collection<Tag> tags)
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
tags
- A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your
resources and to control access to resources.public CreateFaqRequest withTags(Tag... tags)
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
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 the FAQ. You can use the tags to identify and organize your
resources and to control access to resources.public CreateFaqRequest withTags(Collection<Tag> tags)
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
tags
- A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your
resources and to control access to resources.public String toString()
toString
in class Object
Object.toString()
public CreateFaqRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()