@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssistantAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssistantAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssistantAssociationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAssistantAssociationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAssistantAssociationRequest |
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 Wisdom assistant.
|
AssistantAssociationInputData |
getAssociation()
The identifier of the associated resource.
|
String |
getAssociationType()
The type of association.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
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 Wisdom assistant.
|
void |
setAssociation(AssistantAssociationInputData association)
The identifier of the associated resource.
|
void |
setAssociationType(String associationType)
The type of association.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
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.
|
CreateAssistantAssociationRequest |
withAssistantId(String assistantId)
The identifier of the Wisdom assistant.
|
CreateAssistantAssociationRequest |
withAssociation(AssistantAssociationInputData association)
The identifier of the associated resource.
|
CreateAssistantAssociationRequest |
withAssociationType(AssociationType associationType)
The type of association.
|
CreateAssistantAssociationRequest |
withAssociationType(String associationType)
The type of association.
|
CreateAssistantAssociationRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateAssistantAssociationRequest |
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 Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getAssistantId()
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
public CreateAssistantAssociationRequest withAssistantId(String assistantId)
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.public void setAssociation(AssistantAssociationInputData association)
The identifier of the associated resource.
association
- The identifier of the associated resource.public AssistantAssociationInputData getAssociation()
The identifier of the associated resource.
public CreateAssistantAssociationRequest withAssociation(AssistantAssociationInputData association)
The identifier of the associated resource.
association
- The identifier of the associated resource.public void setAssociationType(String associationType)
The type of association.
associationType
- The type of association.AssociationType
public String getAssociationType()
The type of association.
AssociationType
public CreateAssistantAssociationRequest withAssociationType(String associationType)
The type of association.
associationType
- The type of association.AssociationType
public CreateAssistantAssociationRequest withAssociationType(AssociationType associationType)
The type of association.
associationType
- The type of association.AssociationType
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 CreateAssistantAssociationRequest 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 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 CreateAssistantAssociationRequest 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 CreateAssistantAssociationRequest addTagsEntry(String key, String value)
public CreateAssistantAssociationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAssistantAssociationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()