@Generated(value="software.amazon.awssdk:codegen") public final class RetentionPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetentionPolicy.Builder,RetentionPolicy>
The retention policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RetentionPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RetentionPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RetentionType |
homeEfsFileSystem()
The home Amazon Elastic File System (EFS).
|
String |
homeEfsFileSystemAsString()
The home Amazon Elastic File System (EFS).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetentionPolicy.Builder> |
serializableBuilderClass() |
RetentionPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic RetentionType homeEfsFileSystem()
The home Amazon Elastic File System (EFS).
If the service returns an enum value that is not available in the current SDK version, homeEfsFileSystem
will return RetentionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
homeEfsFileSystemAsString().
RetentionTypepublic String homeEfsFileSystemAsString()
The home Amazon Elastic File System (EFS).
If the service returns an enum value that is not available in the current SDK version, homeEfsFileSystem
will return RetentionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
homeEfsFileSystemAsString().
RetentionTypepublic RetentionPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RetentionPolicy.Builder,RetentionPolicy>public static RetentionPolicy.Builder builder()
public static Class<? extends RetentionPolicy.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.