@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartAttachedFileUploadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartAttachedFileUploadRequest() |
Modifier and Type | Method and Description |
---|---|
StartAttachedFileUploadRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
StartAttachedFileUploadRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
StartAttachedFileUploadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociatedResourceArn()
The resource to which the attached file is (being) uploaded to.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreatedByInfo |
getCreatedBy()
Represents the identity that created the file.
|
String |
getFileName()
A case-sensitive name of the attached file being uploaded.
|
Long |
getFileSizeInBytes()
The size of the attached file in bytes.
|
String |
getFileUseCaseType()
The use case for the file.
|
String |
getInstanceId()
The unique identifier of the Amazon Connect instance.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
Integer |
getUrlExpiryInSeconds()
Optional override for the expiry of the pre-signed S3 URL in seconds.
|
int |
hashCode() |
void |
setAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
|
void |
setFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
|
void |
setFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
|
void |
setFileUseCaseType(String fileUseCaseType)
The use case for the file.
|
void |
setInstanceId(String instanceId)
The unique identifier of the Amazon Connect instance.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds.
|
String |
toString()
Returns a string representation of this object.
|
StartAttachedFileUploadRequest |
withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to.
|
StartAttachedFileUploadRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
StartAttachedFileUploadRequest |
withCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
|
StartAttachedFileUploadRequest |
withFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
|
StartAttachedFileUploadRequest |
withFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
|
StartAttachedFileUploadRequest |
withFileUseCaseType(FileUseCaseType fileUseCaseType)
The use case for the file.
|
StartAttachedFileUploadRequest |
withFileUseCaseType(String fileUseCaseType)
The use case for the file.
|
StartAttachedFileUploadRequest |
withInstanceId(String instanceId)
The unique identifier of the Amazon Connect instance.
|
StartAttachedFileUploadRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
StartAttachedFileUploadRequest |
withUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds.
|
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 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 StartAttachedFileUploadRequest 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 setInstanceId(String instanceId)
The unique identifier of the Amazon Connect instance.
instanceId
- The unique identifier of the Amazon Connect instance.public String getInstanceId()
The unique identifier of the Amazon Connect instance.
public StartAttachedFileUploadRequest withInstanceId(String instanceId)
The unique identifier of the Amazon Connect instance.
instanceId
- The unique identifier of the Amazon Connect instance.public void setFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
fileName
- A case-sensitive name of the attached file being uploaded.public String getFileName()
A case-sensitive name of the attached file being uploaded.
public StartAttachedFileUploadRequest withFileName(String fileName)
A case-sensitive name of the attached file being uploaded.
fileName
- A case-sensitive name of the attached file being uploaded.public void setFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
fileSizeInBytes
- The size of the attached file in bytes.public Long getFileSizeInBytes()
The size of the attached file in bytes.
public StartAttachedFileUploadRequest withFileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
fileSizeInBytes
- The size of the attached file in bytes.public void setUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
urlExpiryInSeconds
- Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.public Integer getUrlExpiryInSeconds()
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
public StartAttachedFileUploadRequest withUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
urlExpiryInSeconds
- Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.public void setFileUseCaseType(String fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public String getFileUseCaseType()
The use case for the file.
FileUseCaseType
public StartAttachedFileUploadRequest withFileUseCaseType(String fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public StartAttachedFileUploadRequest withFileUseCaseType(FileUseCaseType fileUseCaseType)
The use case for the file.
fileUseCaseType
- The use case for the file.FileUseCaseType
public void setAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource. This value must be a valid ARN.
public String getAssociatedResourceArn()
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
This value must be a valid ARN.
public StartAttachedFileUploadRequest withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource. This value must be a valid ARN.
public void setCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
createdBy
- Represents the identity that created the file.public CreatedByInfo getCreatedBy()
Represents the identity that created the file.
public StartAttachedFileUploadRequest withCreatedBy(CreatedByInfo createdBy)
Represents the identity that created the file.
createdBy
- Represents the identity that created the file.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.
{ "Tags": {"key1":"value1", "key2":"value2"} }
.public void setTags(Map<String,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 StartAttachedFileUploadRequest withTags(Map<String,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 StartAttachedFileUploadRequest addTagsEntry(String key, String value)
public StartAttachedFileUploadRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public StartAttachedFileUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()