@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateArchiveRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
getArchiveName()
The name of the archive to update.
|
String |
getDescription()
The description for the archive.
|
String |
getEventPattern()
The event pattern to use to filter events sent to the archive.
|
Integer |
getRetentionDays()
The number of days to retain events in the archive.
|
int |
hashCode() |
void |
setArchiveName(String archiveName)
The name of the archive to update.
|
void |
setDescription(String description)
The description for the archive.
|
void |
setEventPattern(String eventPattern)
The event pattern to use to filter events sent to the archive.
|
void |
setRetentionDays(Integer retentionDays)
The number of days to retain events in the archive.
|
String |
toString()
Returns a string representation of this object.
|
UpdateArchiveRequest |
withArchiveName(String archiveName)
The name of the archive to update.
|
UpdateArchiveRequest |
withDescription(String description)
The description for the archive.
|
UpdateArchiveRequest |
withEventPattern(String eventPattern)
The event pattern to use to filter events sent to the archive.
|
UpdateArchiveRequest |
withRetentionDays(Integer retentionDays)
The number of days to retain events 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 setArchiveName(String archiveName)
The name of the archive to update.
archiveName
- The name of the archive to update.public String getArchiveName()
The name of the archive to update.
public UpdateArchiveRequest withArchiveName(String archiveName)
The name of the archive to update.
archiveName
- The name of the archive to update.public void setDescription(String description)
The description for the archive.
description
- The description for the archive.public String getDescription()
The description for the archive.
public UpdateArchiveRequest withDescription(String description)
The description for the archive.
description
- The description for the archive.public void setEventPattern(String eventPattern)
The event pattern to use to filter events sent to the archive.
eventPattern
- The event pattern to use to filter events sent to the archive.public String getEventPattern()
The event pattern to use to filter events sent to the archive.
public UpdateArchiveRequest withEventPattern(String eventPattern)
The event pattern to use to filter events sent to the archive.
eventPattern
- The event pattern to use to filter events sent to the archive.public void setRetentionDays(Integer retentionDays)
The number of days to retain events in the archive.
retentionDays
- The number of days to retain events in the archive.public Integer getRetentionDays()
The number of days to retain events in the archive.
public UpdateArchiveRequest withRetentionDays(Integer retentionDays)
The number of days to retain events in the archive.
retentionDays
- The number of days to retain events in the archive.public String toString()
toString
in class Object
Object.toString()
public UpdateArchiveRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()