@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRegistrationAttachmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRegistrationAttachmentResult() |
Modifier and Type | Method and Description |
---|---|
CreateRegistrationAttachmentResult |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentStatus()
The status of the registration attachment.
|
Date |
getCreatedTimestamp()
The time when the registration attachment was created, in UNIX epoch
time format.
|
String |
getRegistrationAttachmentArn()
The Amazon Resource Name (ARN) for the registration attachment.
|
String |
getRegistrationAttachmentId()
The unique identifier for the registration attachment.
|
List<Tag> |
getTags()
An array of tags (key and value pairs) to associate with the registration attachment.
|
int |
hashCode() |
void |
setAttachmentStatus(String attachmentStatus)
The status of the registration attachment.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the registration attachment was created, in UNIX epoch
time format.
|
void |
setRegistrationAttachmentArn(String registrationAttachmentArn)
The Amazon Resource Name (ARN) for the registration attachment.
|
void |
setRegistrationAttachmentId(String registrationAttachmentId)
The unique identifier for the registration attachment.
|
void |
setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration attachment.
|
String |
toString()
Returns a string representation of this object.
|
CreateRegistrationAttachmentResult |
withAttachmentStatus(AttachmentStatus attachmentStatus)
The status of the registration attachment.
|
CreateRegistrationAttachmentResult |
withAttachmentStatus(String attachmentStatus)
The status of the registration attachment.
|
CreateRegistrationAttachmentResult |
withCreatedTimestamp(Date createdTimestamp)
The time when the registration attachment was created, in UNIX epoch
time format.
|
CreateRegistrationAttachmentResult |
withRegistrationAttachmentArn(String registrationAttachmentArn)
The Amazon Resource Name (ARN) for the registration attachment.
|
CreateRegistrationAttachmentResult |
withRegistrationAttachmentId(String registrationAttachmentId)
The unique identifier for the registration attachment.
|
CreateRegistrationAttachmentResult |
withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration attachment.
|
CreateRegistrationAttachmentResult |
withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the registration attachment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRegistrationAttachmentArn(String registrationAttachmentArn)
The Amazon Resource Name (ARN) for the registration attachment.
registrationAttachmentArn
- The Amazon Resource Name (ARN) for the registration attachment.public String getRegistrationAttachmentArn()
The Amazon Resource Name (ARN) for the registration attachment.
public CreateRegistrationAttachmentResult withRegistrationAttachmentArn(String registrationAttachmentArn)
The Amazon Resource Name (ARN) for the registration attachment.
registrationAttachmentArn
- The Amazon Resource Name (ARN) for the registration attachment.public void setRegistrationAttachmentId(String registrationAttachmentId)
The unique identifier for the registration attachment.
registrationAttachmentId
- The unique identifier for the registration attachment.public String getRegistrationAttachmentId()
The unique identifier for the registration attachment.
public CreateRegistrationAttachmentResult withRegistrationAttachmentId(String registrationAttachmentId)
The unique identifier for the registration attachment.
registrationAttachmentId
- The unique identifier for the registration attachment.public void setAttachmentStatus(String attachmentStatus)
The status of the registration attachment.
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
attachmentStatus
- The status of the registration attachment.
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
AttachmentStatus
public String getAttachmentStatus()
The status of the registration attachment.
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
AttachmentStatus
public CreateRegistrationAttachmentResult withAttachmentStatus(String attachmentStatus)
The status of the registration attachment.
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
attachmentStatus
- The status of the registration attachment.
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
AttachmentStatus
public CreateRegistrationAttachmentResult withAttachmentStatus(AttachmentStatus attachmentStatus)
The status of the registration attachment.
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
attachmentStatus
- The status of the registration attachment.
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
UPLOAD_COMPLETE
The attachment has been uploaded.
UPLOAD_FAILED
The attachment failed to uploaded.
DELETED
The attachment has been deleted..
AttachmentStatus
public List<Tag> getTags()
An array of tags (key and value pairs) to associate with the registration attachment.
public void setTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration attachment.
tags
- An array of tags (key and value pairs) to associate with the registration attachment.public CreateRegistrationAttachmentResult withTags(Tag... tags)
An array of tags (key and value pairs) to associate with the registration attachment.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An array of tags (key and value pairs) to associate with the registration attachment.public CreateRegistrationAttachmentResult withTags(Collection<Tag> tags)
An array of tags (key and value pairs) to associate with the registration attachment.
tags
- An array of tags (key and value pairs) to associate with the registration attachment.public void setCreatedTimestamp(Date createdTimestamp)
The time when the registration attachment was created, in UNIX epoch time format.
createdTimestamp
- The time when the registration attachment was created, in UNIX
epoch time format.public Date getCreatedTimestamp()
The time when the registration attachment was created, in UNIX epoch time format.
public CreateRegistrationAttachmentResult withCreatedTimestamp(Date createdTimestamp)
The time when the registration attachment was created, in UNIX epoch time format.
createdTimestamp
- The time when the registration attachment was created, in UNIX
epoch time format.public String toString()
toString
in class Object
Object.toString()
public CreateRegistrationAttachmentResult clone()