@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetentionSetting extends Object implements Serializable, Cloneable, StructuredPojo
Retention settings for the destination Amazon S3 buckets in Amazon Security Lake.
| Constructor and Description |
|---|
RetentionSetting() |
| Modifier and Type | Method and Description |
|---|---|
RetentionSetting |
clone() |
boolean |
equals(Object obj) |
Integer |
getRetentionPeriod()
The retention period specifies a fixed period of time during which the Security Lake object remains locked.
|
String |
getStorageClass()
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements
of your workloads.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRetentionPeriod(Integer retentionPeriod)
The retention period specifies a fixed period of time during which the Security Lake object remains locked.
|
void |
setStorageClass(String storageClass)
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements
of your workloads.
|
String |
toString()
Returns a string representation of this object.
|
RetentionSetting |
withRetentionPeriod(Integer retentionPeriod)
The retention period specifies a fixed period of time during which the Security Lake object remains locked.
|
RetentionSetting |
withStorageClass(StorageClass storageClass)
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements
of your workloads.
|
RetentionSetting |
withStorageClass(String storageClass)
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements
of your workloads.
|
public void setRetentionPeriod(Integer retentionPeriod)
The retention period specifies a fixed period of time during which the Security Lake object remains locked. You can specify the retention period in days for one or more sources.
retentionPeriod - The retention period specifies a fixed period of time during which the Security Lake object remains
locked. You can specify the retention period in days for one or more sources.public Integer getRetentionPeriod()
The retention period specifies a fixed period of time during which the Security Lake object remains locked. You can specify the retention period in days for one or more sources.
public RetentionSetting withRetentionPeriod(Integer retentionPeriod)
The retention period specifies a fixed period of time during which the Security Lake object remains locked. You can specify the retention period in days for one or more sources.
retentionPeriod - The retention period specifies a fixed period of time during which the Security Lake object remains
locked. You can specify the retention period in days for one or more sources.public void setStorageClass(String storageClass)
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
storageClass - The range of storage classes that you can choose from based on the data access, resiliency, and cost
requirements of your workloads.StorageClasspublic String getStorageClass()
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
StorageClasspublic RetentionSetting withStorageClass(String storageClass)
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
storageClass - The range of storage classes that you can choose from based on the data access, resiliency, and cost
requirements of your workloads.StorageClasspublic RetentionSetting withStorageClass(StorageClass storageClass)
The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
storageClass - The range of storage classes that you can choose from based on the data access, resiliency, and cost
requirements of your workloads.StorageClasspublic String toString()
toString in class ObjectObject.toString()public RetentionSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.