@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSessionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSessionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSessionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSessionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssistantId()
The identifier of the Amazon Q in Connect assistant.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDescription()
The description.
|
String |
getName()
The name of the session.
|
TagFilter |
getTagFilter()
An object that can be used to specify Tag conditions.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description.
|
void |
setName(String name)
The name of the session.
|
void |
setTagFilter(TagFilter tagFilter)
An object that can be used to specify Tag conditions.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateSessionRequest |
withAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant.
|
CreateSessionRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateSessionRequest |
withDescription(String description)
The description.
|
CreateSessionRequest |
withName(String name)
The name of the session.
|
CreateSessionRequest |
withTagFilter(TagFilter tagFilter)
An object that can be used to specify Tag conditions.
|
CreateSessionRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
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 setAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain
the ARN.public String getAssistantId()
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
public CreateSessionRequest withAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain
the ARN.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public CreateSessionRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public CreateSessionRequest withDescription(String description)
The description.
description
- The description.public void setName(String name)
The name of the session.
name
- The name of the session.public String getName()
The name of the session.
public CreateSessionRequest withName(String name)
The name of the session.
name
- The name of the session.public void setTagFilter(TagFilter tagFilter)
An object that can be used to specify Tag conditions.
tagFilter
- An object that can be used to specify Tag conditions.public TagFilter getTagFilter()
An object that can be used to specify Tag conditions.
public CreateSessionRequest withTagFilter(TagFilter tagFilter)
An object that can be used to specify Tag conditions.
tagFilter
- An object that can be used to specify Tag conditions.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public CreateSessionRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public CreateSessionRequest addTagsEntry(String key, String value)
public CreateSessionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateSessionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()