@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetentionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
RetentionConfiguration() |
Modifier and Type | Method and Description |
---|---|
RetentionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the retention configuration object.
|
Integer |
getRetentionPeriodInDays()
Number of days AWS Config stores your historical information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the retention configuration object.
|
void |
setRetentionPeriodInDays(Integer retentionPeriodInDays)
Number of days AWS Config stores your historical information.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RetentionConfiguration |
withName(String name)
The name of the retention configuration object.
|
RetentionConfiguration |
withRetentionPeriodInDays(Integer retentionPeriodInDays)
Number of days AWS Config stores your historical information.
|
public void setName(String name)
The name of the retention configuration object.
name
- The name of the retention configuration object.public String getName()
The name of the retention configuration object.
public RetentionConfiguration withName(String name)
The name of the retention configuration object.
name
- The name of the retention configuration object.public void setRetentionPeriodInDays(Integer retentionPeriodInDays)
Number of days AWS Config stores your historical information.
Currently, only applicable to the configuration item history.
retentionPeriodInDays
- Number of days AWS Config stores your historical information. Currently, only applicable to the configuration item history.
public Integer getRetentionPeriodInDays()
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 withRetentionPeriodInDays(Integer retentionPeriodInDays)
Number of days AWS Config stores your historical information.
Currently, only applicable to the configuration item history.
retentionPeriodInDays
- Number of days AWS Config stores your historical information. Currently, only applicable to the configuration item history.
public String toString()
toString
in class Object
Object.toString()
public RetentionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.