@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateArchiveResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response from creating a new email archive.
Constructor and Description |
---|
CreateArchiveResult() |
Modifier and Type | Method and Description |
---|---|
CreateArchiveResult |
clone() |
boolean |
equals(Object obj) |
String |
getArchiveId()
The unique identifier for the newly created archive.
|
int |
hashCode() |
void |
setArchiveId(String archiveId)
The unique identifier for the newly created archive.
|
String |
toString()
Returns a string representation of this object.
|
CreateArchiveResult |
withArchiveId(String archiveId)
The unique identifier for the newly created archive.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArchiveId(String archiveId)
The unique identifier for the newly created archive.
archiveId
- The unique identifier for the newly created archive.public String getArchiveId()
The unique identifier for the newly created archive.
public CreateArchiveResult withArchiveId(String archiveId)
The unique identifier for the newly created archive.
archiveId
- The unique identifier for the newly created archive.public String toString()
toString
in class Object
Object.toString()
public CreateArchiveResult clone()