@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateArchiveRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to update properties of an existing email archive.
NOOP
Constructor and Description |
---|
UpdateArchiveRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateArchiveRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArchiveId()
The identifier of the archive to update.
|
String |
getArchiveName()
A new, unique name for the archive.
|
ArchiveRetention |
getRetention()
A new retention period for emails in the archive.
|
int |
hashCode() |
void |
setArchiveId(String archiveId)
The identifier of the archive to update.
|
void |
setArchiveName(String archiveName)
A new, unique name for the archive.
|
void |
setRetention(ArchiveRetention retention)
A new retention period for emails in the archive.
|
String |
toString()
Returns a string representation of this object.
|
UpdateArchiveRequest |
withArchiveId(String archiveId)
The identifier of the archive to update.
|
UpdateArchiveRequest |
withArchiveName(String archiveName)
A new, unique name for the archive.
|
UpdateArchiveRequest |
withRetention(ArchiveRetention retention)
A new retention period for emails in the archive.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArchiveId(String archiveId)
The identifier of the archive to update.
archiveId
- The identifier of the archive to update.public String getArchiveId()
The identifier of the archive to update.
public UpdateArchiveRequest withArchiveId(String archiveId)
The identifier of the archive to update.
archiveId
- The identifier of the archive to update.public void setArchiveName(String archiveName)
A new, unique name for the archive.
archiveName
- A new, unique name for the archive.public String getArchiveName()
A new, unique name for the archive.
public UpdateArchiveRequest withArchiveName(String archiveName)
A new, unique name for the archive.
archiveName
- A new, unique name for the archive.public void setRetention(ArchiveRetention retention)
A new retention period for emails in the archive.
retention
- A new retention period for emails in the archive.public ArchiveRetention getRetention()
A new retention period for emails in the archive.
public UpdateArchiveRequest withRetention(ArchiveRetention retention)
A new retention period for emails in the archive.
retention
- A new retention period for emails in the archive.public String toString()
toString
in class Object
Object.toString()
public UpdateArchiveRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()