@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRetentionSettingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRetentionSettingsResult() |
Modifier and Type | Method and Description |
---|---|
GetRetentionSettingsResult |
clone() |
boolean |
equals(Object obj) |
Date |
getInitiateDeletionTimestamp()
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
|
RetentionSettings |
getRetentionSettings()
The retention settings.
|
int |
hashCode() |
void |
setInitiateDeletionTimestamp(Date initiateDeletionTimestamp)
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
|
void |
setRetentionSettings(RetentionSettings retentionSettings)
The retention settings.
|
String |
toString()
Returns a string representation of this object.
|
GetRetentionSettingsResult |
withInitiateDeletionTimestamp(Date initiateDeletionTimestamp)
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
|
GetRetentionSettingsResult |
withRetentionSettings(RetentionSettings retentionSettings)
The retention settings.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRetentionSettings(RetentionSettings retentionSettings)
The retention settings.
retentionSettings
- The retention settings.public RetentionSettings getRetentionSettings()
The retention settings.
public GetRetentionSettingsResult withRetentionSettings(RetentionSettings retentionSettings)
The retention settings.
retentionSettings
- The retention settings.public void setInitiateDeletionTimestamp(Date initiateDeletionTimestamp)
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
initiateDeletionTimestamp
- The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601
format.public Date getInitiateDeletionTimestamp()
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
public GetRetentionSettingsResult withInitiateDeletionTimestamp(Date initiateDeletionTimestamp)
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
initiateDeletionTimestamp
- The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601
format.public String toString()
toString
in class Object
Object.toString()
public GetRetentionSettingsResult clone()