public class AttachmentItem
extends java.lang.Object
implements java.io.Serializable
The case-insensitive input to indicate standard MIME type that describes the format of the file that will be uploaded.
Constructor and Description |
---|
AttachmentItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachmentId()
A unique identifier for the attachment.
|
java.lang.String |
getAttachmentName()
A case-sensitive name of the attachment being uploaded.
|
java.lang.String |
getContentType()
Describes the MIME file type of the attachment.
|
java.lang.String |
getStatus()
Status of the attachment.
|
int |
hashCode() |
void |
setAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
|
void |
setAttachmentName(java.lang.String attachmentName)
A case-sensitive name of the attachment being uploaded.
|
void |
setContentType(java.lang.String contentType)
Describes the MIME file type of the attachment.
|
void |
setStatus(ArtifactStatus status)
Status of the attachment.
|
void |
setStatus(java.lang.String status)
Status of the attachment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachmentItem |
withAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
|
AttachmentItem |
withAttachmentName(java.lang.String attachmentName)
A case-sensitive name of the attachment being uploaded.
|
AttachmentItem |
withContentType(java.lang.String contentType)
Describes the MIME file type of the attachment.
|
AttachmentItem |
withStatus(ArtifactStatus status)
Status of the attachment.
|
AttachmentItem |
withStatus(java.lang.String status)
Status of the attachment.
|
public java.lang.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.
Constraints:
Length: 1 - 255
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 setContentType(java.lang.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.
Constraints:
Length: 1 - 255
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 AttachmentItem withContentType(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
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 java.lang.String getAttachmentId()
A unique identifier for the attachment.
Constraints:
Length: 1 - 256
A unique identifier for the attachment.
public void setAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
Constraints:
Length: 1 - 256
attachmentId
- A unique identifier for the attachment.
public AttachmentItem withAttachmentId(java.lang.String attachmentId)
A unique identifier for the attachment.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
attachmentId
- A unique identifier for the attachment.
public java.lang.String getAttachmentName()
A case-sensitive name of the attachment being uploaded.
Constraints:
Length: 1 - 256
A case-sensitive name of the attachment being uploaded.
public void setAttachmentName(java.lang.String attachmentName)
A case-sensitive name of the attachment being uploaded.
Constraints:
Length: 1 - 256
attachmentName
- A case-sensitive name of the attachment being uploaded.
public AttachmentItem withAttachmentName(java.lang.String attachmentName)
A case-sensitive name of the attachment being uploaded.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
attachmentName
- A case-sensitive name of the attachment being uploaded.
public java.lang.String getStatus()
Status of the attachment.
Constraints:
Allowed Values: APPROVED, REJECTED, IN_PROGRESS
Status of the attachment.
ArtifactStatus
public void setStatus(java.lang.String status)
Status of the attachment.
Constraints:
Allowed Values: APPROVED, REJECTED, IN_PROGRESS
status
- Status of the attachment.
ArtifactStatus
public AttachmentItem withStatus(java.lang.String status)
Status of the attachment.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: APPROVED, REJECTED, IN_PROGRESS
status
- Status of the attachment.
ArtifactStatus
public void setStatus(ArtifactStatus status)
Status of the attachment.
Constraints:
Allowed Values: APPROVED, REJECTED, IN_PROGRESS
status
- Status of the attachment.
ArtifactStatus
public AttachmentItem withStatus(ArtifactStatus status)
Status of the attachment.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: APPROVED, REJECTED, IN_PROGRESS
status
- Status of the attachment.
ArtifactStatus
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.