@Generated(value="software.amazon.awssdk:codegen") public final class RetentionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetentionConfiguration.Builder,RetentionConfiguration>
An object with the name of the retention configuration and the retention period in days. The object stores the configuration for data retention in AWS Config.
Modifier and Type | Class and Description |
---|---|
static interface |
RetentionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static RetentionConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the retention configuration object.
|
Integer |
retentionPeriodInDays()
Number of days AWS Config stores your historical information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetentionConfiguration.Builder> |
serializableBuilderClass() |
RetentionConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the retention configuration object.
public Integer retentionPeriodInDays()
Number of days AWS Config stores your historical information.
Currently, only applicable to the configuration item history.
Currently, only applicable to the configuration item history.
public RetentionConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RetentionConfiguration.Builder,RetentionConfiguration>
public static RetentionConfiguration.Builder builder()
public static Class<? extends RetentionConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.