@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateArchiveResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
UpdateArchiveResult() |
| Modifier and Type | Method and Description |
|---|---|
UpdateArchiveResult |
clone() |
boolean |
equals(Object obj) |
String |
getArchiveArn()
The ARN of the archive.
|
Date |
getCreationTime()
The time at which the archive was updated.
|
String |
getState()
The state of the archive.
|
String |
getStateReason()
The reason that the archive is in the current state.
|
int |
hashCode() |
void |
setArchiveArn(String archiveArn)
The ARN of the archive.
|
void |
setCreationTime(Date creationTime)
The time at which the archive was updated.
|
void |
setState(String state)
The state of the archive.
|
void |
setStateReason(String stateReason)
The reason that the archive is in the current state.
|
String |
toString()
Returns a string representation of this object.
|
UpdateArchiveResult |
withArchiveArn(String archiveArn)
The ARN of the archive.
|
UpdateArchiveResult |
withCreationTime(Date creationTime)
The time at which the archive was updated.
|
UpdateArchiveResult |
withState(ArchiveState state)
The state of the archive.
|
UpdateArchiveResult |
withState(String state)
The state of the archive.
|
UpdateArchiveResult |
withStateReason(String stateReason)
The reason that the archive is in the current state.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArchiveArn(String archiveArn)
The ARN of the archive.
archiveArn - The ARN of the archive.public String getArchiveArn()
The ARN of the archive.
public UpdateArchiveResult withArchiveArn(String archiveArn)
The ARN of the archive.
archiveArn - The ARN of the archive.public void setState(String state)
The state of the archive.
state - The state of the archive.ArchiveStatepublic String getState()
The state of the archive.
ArchiveStatepublic UpdateArchiveResult withState(String state)
The state of the archive.
state - The state of the archive.ArchiveStatepublic UpdateArchiveResult withState(ArchiveState state)
The state of the archive.
state - The state of the archive.ArchiveStatepublic void setStateReason(String stateReason)
The reason that the archive is in the current state.
stateReason - The reason that the archive is in the current state.public String getStateReason()
The reason that the archive is in the current state.
public UpdateArchiveResult withStateReason(String stateReason)
The reason that the archive is in the current state.
stateReason - The reason that the archive is in the current state.public void setCreationTime(Date creationTime)
The time at which the archive was updated.
creationTime - The time at which the archive was updated.public Date getCreationTime()
The time at which the archive was updated.
public UpdateArchiveResult withCreationTime(Date creationTime)
The time at which the archive was updated.
creationTime - The time at which the archive was updated.public String toString()
toString in class ObjectObject.toString()public UpdateArchiveResult clone()