@Generated(value="software.amazon.awssdk:codegen") public final class FolderConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FolderConfiguration.Builder,FolderConfiguration>
The configuration applied to an organization's folders by its retention policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FolderConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
RetentionAction |
action()
The action to take on the folder contents at the end of the folder configuration period.
|
String |
actionAsString()
The action to take on the folder contents at the end of the folder configuration period.
|
static FolderConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
FolderName |
name()
The folder name.
|
String |
nameAsString()
The folder name.
|
Integer |
period()
The period of time at which the folder configuration action is applied.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FolderConfiguration.Builder> |
serializableBuilderClass() |
FolderConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FolderName name()
The folder name.
If the service returns an enum value that is not available in the current SDK version, name will return
FolderName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
FolderNamepublic final String nameAsString()
The folder name.
If the service returns an enum value that is not available in the current SDK version, name will return
FolderName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
FolderNamepublic final RetentionAction action()
The action to take on the folder contents at the end of the folder configuration period.
If the service returns an enum value that is not available in the current SDK version, action will
return RetentionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
RetentionActionpublic final String actionAsString()
The action to take on the folder contents at the end of the folder configuration period.
If the service returns an enum value that is not available in the current SDK version, action will
return RetentionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
RetentionActionpublic final Integer period()
The period of time at which the folder configuration action is applied.
public FolderConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FolderConfiguration.Builder,FolderConfiguration>public static FolderConfiguration.Builder builder()
public static Class<? extends FolderConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.