public class CreateUseCaseRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Creates a use case for an integration association.
| Constructor and Description |
|---|
CreateUseCaseRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateUseCaseRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateUseCaseRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getIntegrationAssociationId()
The identifier for the integration association.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
getUseCaseType()
The type of use case to associate to the integration association.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setIntegrationAssociationId(java.lang.String integrationAssociationId)
The identifier for the integration association.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the integration association.
|
void |
setUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the integration association.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUseCaseRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateUseCaseRequest |
withIntegrationAssociationId(java.lang.String integrationAssociationId)
The identifier for the integration association.
|
CreateUseCaseRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
CreateUseCaseRequest |
withUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the integration association.
|
CreateUseCaseRequest |
withUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the integration association.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateUseCaseRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getIntegrationAssociationId()
The identifier for the integration association.
Constraints:
Length: 1 - 200
The identifier for the integration association.
public void setIntegrationAssociationId(java.lang.String integrationAssociationId)
The identifier for the integration association.
Constraints:
Length: 1 - 200
integrationAssociationId - The identifier for the integration association.
public CreateUseCaseRequest withIntegrationAssociationId(java.lang.String integrationAssociationId)
The identifier for the integration association.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
integrationAssociationId - The identifier for the integration association.
public java.lang.String getUseCaseType()
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
Constraints:
Allowed Values: RULES_EVALUATION, CONNECT_CAMPAIGNS
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
UseCaseTypepublic void setUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
Constraints:
Allowed Values: RULES_EVALUATION, CONNECT_CAMPAIGNS
useCaseType - The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
UseCaseTypepublic CreateUseCaseRequest withUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RULES_EVALUATION, CONNECT_CAMPAIGNS
useCaseType - The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
UseCaseTypepublic void setUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
Constraints:
Allowed Values: RULES_EVALUATION, CONNECT_CAMPAIGNS
useCaseType - The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
UseCaseTypepublic CreateUseCaseRequest withUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RULES_EVALUATION, CONNECT_CAMPAIGNS
useCaseType - The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
UseCaseTypepublic java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateUseCaseRequest withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateUseCaseRequest addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public CreateUseCaseRequest clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object