@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartAttachmentUploadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartAttachmentUploadRequest() |
Modifier and Type | Method and Description |
---|---|
StartAttachmentUploadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttachmentName()
A case-sensitive name of the attachment being uploaded.
|
Long |
getAttachmentSizeInBytes()
The size of the attachment in bytes.
|
String |
getClientToken()
A unique case sensitive identifier to support idempotency of request.
|
String |
getConnectionToken()
The authentication token associated with the participant's connection.
|
String |
getContentType()
Describes the MIME file type of the attachment.
|
int |
hashCode() |
void |
setAttachmentName(String attachmentName)
A case-sensitive name of the attachment being uploaded.
|
void |
setAttachmentSizeInBytes(Long attachmentSizeInBytes)
The size of the attachment in bytes.
|
void |
setClientToken(String clientToken)
A unique case sensitive identifier to support idempotency of request.
|
void |
setConnectionToken(String connectionToken)
The authentication token associated with the participant's connection.
|
void |
setContentType(String contentType)
Describes the MIME file type of the attachment.
|
String |
toString()
Returns a string representation of this object.
|
StartAttachmentUploadRequest |
withAttachmentName(String attachmentName)
A case-sensitive name of the attachment being uploaded.
|
StartAttachmentUploadRequest |
withAttachmentSizeInBytes(Long attachmentSizeInBytes)
The size of the attachment in bytes.
|
StartAttachmentUploadRequest |
withClientToken(String clientToken)
A unique case sensitive identifier to support idempotency of request.
|
StartAttachmentUploadRequest |
withConnectionToken(String connectionToken)
The authentication token associated with the participant's connection.
|
StartAttachmentUploadRequest |
withContentType(String contentType)
Describes the MIME file type of the attachment.
|
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 setContentType(String contentType)
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
contentType
- Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.public String getContentType()
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
public StartAttachmentUploadRequest withContentType(String contentType)
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
contentType
- Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.public void setAttachmentSizeInBytes(Long attachmentSizeInBytes)
The size of the attachment in bytes.
attachmentSizeInBytes
- The size of the attachment in bytes.public Long getAttachmentSizeInBytes()
The size of the attachment in bytes.
public StartAttachmentUploadRequest withAttachmentSizeInBytes(Long attachmentSizeInBytes)
The size of the attachment in bytes.
attachmentSizeInBytes
- The size of the attachment in bytes.public void setAttachmentName(String attachmentName)
A case-sensitive name of the attachment being uploaded.
attachmentName
- A case-sensitive name of the attachment being uploaded.public String getAttachmentName()
A case-sensitive name of the attachment being uploaded.
public StartAttachmentUploadRequest withAttachmentName(String attachmentName)
A case-sensitive name of the attachment being uploaded.
attachmentName
- A case-sensitive name of the attachment being uploaded.public void setClientToken(String clientToken)
A unique case sensitive identifier to support idempotency of request.
clientToken
- A unique case sensitive identifier to support idempotency of request.public String getClientToken()
A unique case sensitive identifier to support idempotency of request.
public StartAttachmentUploadRequest withClientToken(String clientToken)
A unique case sensitive identifier to support idempotency of request.
clientToken
- A unique case sensitive identifier to support idempotency of request.public void setConnectionToken(String connectionToken)
The authentication token associated with the participant's connection.
connectionToken
- The authentication token associated with the participant's connection.public String getConnectionToken()
The authentication token associated with the participant's connection.
public StartAttachmentUploadRequest withConnectionToken(String connectionToken)
The authentication token associated with the participant's connection.
connectionToken
- The authentication token associated with the participant's connection.public String toString()
toString
in class Object
Object.toString()
public StartAttachmentUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()