@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateExperienceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateExperienceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateExperienceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A token that you provide to identify the request to create your Amazon Kendra experience.
|
ExperienceConfiguration |
getConfiguration()
Configuration information for your Amazon Kendra experience.
|
String |
getDescription()
A description for your Amazon Kendra experience.
|
String |
getIndexId()
The identifier of the index for your Amazon Kendra experience.
|
String |
getName()
A name for your Amazon Kendra experience.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role with permission to access
Query API,
GetQuerySuggestions API, and other required APIs. |
int |
hashCode() |
void |
setClientToken(String clientToken)
A token that you provide to identify the request to create your Amazon Kendra experience.
|
void |
setConfiguration(ExperienceConfiguration configuration)
Configuration information for your Amazon Kendra experience.
|
void |
setDescription(String description)
A description for your Amazon Kendra experience.
|
void |
setIndexId(String indexId)
The identifier of the index for your Amazon Kendra experience.
|
void |
setName(String name)
A name for your Amazon Kendra experience.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access
Query API,
GetQuerySuggestions API, and other required APIs. |
String |
toString()
Returns a string representation of this object.
|
CreateExperienceRequest |
withClientToken(String clientToken)
A token that you provide to identify the request to create your Amazon Kendra experience.
|
CreateExperienceRequest |
withConfiguration(ExperienceConfiguration configuration)
Configuration information for your Amazon Kendra experience.
|
CreateExperienceRequest |
withDescription(String description)
A description for your Amazon Kendra experience.
|
CreateExperienceRequest |
withIndexId(String indexId)
The identifier of the index for your Amazon Kendra experience.
|
CreateExperienceRequest |
withName(String name)
A name for your Amazon Kendra experience.
|
CreateExperienceRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access
Query API,
GetQuerySuggestions API, and other required APIs. |
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)
A name for your Amazon Kendra experience.
name
- A name for your Amazon Kendra experience.public String getName()
A name for your Amazon Kendra experience.
public CreateExperienceRequest withName(String name)
A name for your Amazon Kendra experience.
name
- A name for your Amazon Kendra experience.public void setIndexId(String indexId)
The identifier of the index for your Amazon Kendra experience.
indexId
- The identifier of the index for your Amazon Kendra experience.public String getIndexId()
The identifier of the index for your Amazon Kendra experience.
public CreateExperienceRequest withIndexId(String indexId)
The identifier of the index for your Amazon Kendra experience.
indexId
- The identifier of the index for your Amazon Kendra experience.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access Query
API,
GetQuerySuggestions
API, and other required APIs. The role also must include permission to access
IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.
roleArn
- The Amazon Resource Name (ARN) of an IAM role with permission to access Query
API,
GetQuerySuggestions
API, and other required APIs. The role also must include permission to
access IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role with permission to access Query
API,
GetQuerySuggestions
API, and other required APIs. The role also must include permission to access
IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.
Query
API,
GetQuerySuggestions
API, and other required APIs. The role also must include permission to
access IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon
Kendra.public CreateExperienceRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access Query
API,
GetQuerySuggestions
API, and other required APIs. The role also must include permission to access
IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.
roleArn
- The Amazon Resource Name (ARN) of an IAM role with permission to access Query
API,
GetQuerySuggestions
API, and other required APIs. The role also must include permission to
access IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.public void setConfiguration(ExperienceConfiguration configuration)
Configuration information for your Amazon Kendra experience. This includes
ContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration
, which specifies the user or group information to grant access to your
Amazon Kendra experience.
configuration
- Configuration information for your Amazon Kendra experience. This includes
ContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration
, which specifies the user or group information to grant access to
your Amazon Kendra experience.public ExperienceConfiguration getConfiguration()
Configuration information for your Amazon Kendra experience. This includes
ContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration
, which specifies the user or group information to grant access to your
Amazon Kendra experience.
ContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration
, which specifies the user or group information to grant access to
your Amazon Kendra experience.public CreateExperienceRequest withConfiguration(ExperienceConfiguration configuration)
Configuration information for your Amazon Kendra experience. This includes
ContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration
, which specifies the user or group information to grant access to your
Amazon Kendra experience.
configuration
- Configuration information for your Amazon Kendra experience. This includes
ContentSourceConfiguration
, which specifies the data source IDs and/or FAQ IDs, and
UserIdentityConfiguration
, which specifies the user or group information to grant access to
your Amazon Kendra experience.public void setDescription(String description)
A description for your Amazon Kendra experience.
description
- A description for your Amazon Kendra experience.public String getDescription()
A description for your Amazon Kendra experience.
public CreateExperienceRequest withDescription(String description)
A description for your Amazon Kendra experience.
description
- A description for your Amazon Kendra experience.public void setClientToken(String clientToken)
A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the
CreateExperience
API with the same client token creates only one Amazon Kendra experience.
clientToken
- A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls
to the CreateExperience
API with the same client token creates only one Amazon Kendra
experience.public String getClientToken()
A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the
CreateExperience
API with the same client token creates only one Amazon Kendra experience.
CreateExperience
API with the same client token creates only one Amazon Kendra
experience.public CreateExperienceRequest withClientToken(String clientToken)
A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the
CreateExperience
API with the same client token creates only one Amazon Kendra experience.
clientToken
- A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls
to the CreateExperience
API with the same client token creates only one Amazon Kendra
experience.public String toString()
toString
in class Object
Object.toString()
public CreateExperienceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()