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