public class AssociateInstanceStorageConfigRequest extends AmazonWebServiceRequest implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Associates a storage resource type for the first time. You can only associate one type of storage configuration in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing chat transcripts.
This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the resource being specified in the storage configuration, like an Amazon S3 bucket, exists when being used for association.
Constructor and Description |
---|
AssociateInstanceStorageConfigRequest() |
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 |
getResourceType()
A valid resource type.
|
InstanceStorageConfig |
getStorageConfig()
A valid storage type.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setResourceType(InstanceStorageResourceType resourceType)
A valid resource type.
|
void |
setResourceType(java.lang.String resourceType)
A valid resource type.
|
void |
setStorageConfig(InstanceStorageConfig storageConfig)
A valid storage type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateInstanceStorageConfigRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
AssociateInstanceStorageConfigRequest |
withResourceType(InstanceStorageResourceType resourceType)
A valid resource type.
|
AssociateInstanceStorageConfigRequest |
withResourceType(java.lang.String resourceType)
A valid resource type.
|
AssociateInstanceStorageConfigRequest |
withStorageConfig(InstanceStorageConfig storageConfig)
A valid storage type.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public AssociateInstanceStorageConfigRequest()
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 AssociateInstanceStorageConfigRequest 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 getResourceType()
A valid resource type.
Constraints:
Allowed Values: CHAT_TRANSCRIPTS, CALL_RECORDINGS,
SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
A valid resource type.
InstanceStorageResourceType
public void setResourceType(java.lang.String resourceType)
A valid resource type.
Constraints:
Allowed Values: CHAT_TRANSCRIPTS, CALL_RECORDINGS,
SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
resourceType
- A valid resource type.
InstanceStorageResourceType
public AssociateInstanceStorageConfigRequest withResourceType(java.lang.String resourceType)
A valid resource type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CHAT_TRANSCRIPTS, CALL_RECORDINGS,
SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
resourceType
- A valid resource type.
InstanceStorageResourceType
public void setResourceType(InstanceStorageResourceType resourceType)
A valid resource type.
Constraints:
Allowed Values: CHAT_TRANSCRIPTS, CALL_RECORDINGS,
SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
resourceType
- A valid resource type.
InstanceStorageResourceType
public AssociateInstanceStorageConfigRequest withResourceType(InstanceStorageResourceType resourceType)
A valid resource type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CHAT_TRANSCRIPTS, CALL_RECORDINGS,
SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
resourceType
- A valid resource type.
InstanceStorageResourceType
public InstanceStorageConfig getStorageConfig()
A valid storage type.
A valid storage type.
public void setStorageConfig(InstanceStorageConfig storageConfig)
A valid storage type.
storageConfig
- A valid storage type.
public AssociateInstanceStorageConfigRequest withStorageConfig(InstanceStorageConfig storageConfig)
A valid storage type.
Returns a reference to this object so that method calls can be chained together.
storageConfig
- A valid storage type.
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.