@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.
|
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.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public CreateFaqRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.