@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Archive extends Object implements Serializable, Cloneable, StructuredPojo
An archive resource for storing and retaining emails.
Constructor and Description |
---|
Archive() |
Modifier and Type | Method and Description |
---|---|
Archive |
clone() |
boolean |
equals(Object obj) |
String |
getArchiveId()
The unique identifier of the archive.
|
String |
getArchiveName()
The unique name assigned to the archive.
|
String |
getArchiveState()
The current state of the archive:
|
Date |
getLastUpdatedTimestamp()
The timestamp of when the archive was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArchiveId(String archiveId)
The unique identifier of the archive.
|
void |
setArchiveName(String archiveName)
The unique name assigned to the archive.
|
void |
setArchiveState(String archiveState)
The current state of the archive:
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the archive was last updated.
|
String |
toString()
Returns a string representation of this object.
|
Archive |
withArchiveId(String archiveId)
The unique identifier of the archive.
|
Archive |
withArchiveName(String archiveName)
The unique name assigned to the archive.
|
Archive |
withArchiveState(ArchiveState archiveState)
The current state of the archive:
|
Archive |
withArchiveState(String archiveState)
The current state of the archive:
|
Archive |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the archive was last updated.
|
public void setArchiveId(String archiveId)
The unique identifier of the archive.
archiveId
- The unique identifier of the archive.public String getArchiveId()
The unique identifier of the archive.
public Archive withArchiveId(String archiveId)
The unique identifier of the archive.
archiveId
- The unique identifier of the archive.public void setArchiveName(String archiveName)
The unique name assigned to the archive.
archiveName
- The unique name assigned to the archive.public String getArchiveName()
The unique name assigned to the archive.
public Archive withArchiveName(String archiveName)
The unique name assigned to the archive.
archiveName
- The unique name assigned to the archive.public void setArchiveState(String archiveState)
The current state of the archive:
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30
days. No further modifications can be made in this state.
archiveState
- The current state of the archive:
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted
in 30 days. No further modifications can be made in this state.
ArchiveState
public String getArchiveState()
The current state of the archive:
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30
days. No further modifications can be made in this state.
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted
in 30 days. No further modifications can be made in this state.
ArchiveState
public Archive withArchiveState(String archiveState)
The current state of the archive:
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30
days. No further modifications can be made in this state.
archiveState
- The current state of the archive:
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted
in 30 days. No further modifications can be made in this state.
ArchiveState
public Archive withArchiveState(ArchiveState archiveState)
The current state of the archive:
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30
days. No further modifications can be made in this state.
archiveState
- The current state of the archive:
ACTIVE
– The archive is ready and available for use.
PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted
in 30 days. No further modifications can be made in this state.
ArchiveState
public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the archive was last updated.
lastUpdatedTimestamp
- The timestamp of when the archive was last updated.public Date getLastUpdatedTimestamp()
The timestamp of when the archive was last updated.
public Archive withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The timestamp of when the archive was last updated.
lastUpdatedTimestamp
- The timestamp of when the archive was last updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.