public class CreateUseCaseRequest extends AmazonWebServiceRequest implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Creates a use case for an AppIntegration association.
Constructor and Description |
---|
CreateUseCaseRequest() |
Modifier and Type | Method and Description |
---|---|
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 AppIntegration association.
|
java.lang.String |
getUseCaseType()
The type of use case to associate to the AppIntegration 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 AppIntegration association.
|
void |
setUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the AppIntegration association.
|
void |
setUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the AppIntegration 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 AppIntegration association.
|
CreateUseCaseRequest |
withUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the AppIntegration association.
|
CreateUseCaseRequest |
withUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the AppIntegration association.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public CreateUseCaseRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect 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.
public java.lang.String getIntegrationAssociationId()
The identifier for the AppIntegration association.
Constraints:
Length: 1 - 200
The identifier for the AppIntegration association.
public void setIntegrationAssociationId(java.lang.String integrationAssociationId)
The identifier for the AppIntegration association.
Constraints:
Length: 1 - 200
integrationAssociationId
- The identifier for the AppIntegration association.
public CreateUseCaseRequest withIntegrationAssociationId(java.lang.String integrationAssociationId)
The identifier for the AppIntegration association.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
integrationAssociationId
- The identifier for the AppIntegration association.
public java.lang.String getUseCaseType()
The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
Constraints:
Allowed Values: RULES_EVALUATION
The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
UseCaseType
public void setUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
Constraints:
Allowed Values: RULES_EVALUATION
useCaseType
- The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
UseCaseType
public CreateUseCaseRequest withUseCaseType(java.lang.String useCaseType)
The type of use case to associate to the AppIntegration association. Each AppIntegration 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
useCaseType
- The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
UseCaseType
public void setUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
Constraints:
Allowed Values: RULES_EVALUATION
useCaseType
- The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
UseCaseType
public CreateUseCaseRequest withUseCaseType(UseCaseType useCaseType)
The type of use case to associate to the AppIntegration association. Each AppIntegration 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
useCaseType
- The type of use case to associate to the AppIntegration association. Each AppIntegration association can have only one of each use case type.
UseCaseType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.