Class AwsBackupBackupPlanLifecycleDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsBackupBackupPlanLifecycleDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsBackupBackupPlanLifecycleDetails.Builder,AwsBackupBackupPlanLifecycleDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsBackupBackupPlanLifecycleDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsBackupBackupPlanLifecycleDetails.Builder,AwsBackupBackupPlanLifecycleDetails>
Provides lifecycle details for the backup plan. A lifecycle defines when a backup is transitioned to cold storage and when it expires.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsBackupBackupPlanLifecycleDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsBackupBackupPlanLifecycleDetails.Builderbuilder()LongdeleteAfterDays()Specifies the number of days after creation that a recovery point is deleted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongmoveToColdStorageAfterDays()Specifies the number of days after creation that a recovery point is moved to cold storage.List<SdkField<?>>sdkFields()static Class<? extends AwsBackupBackupPlanLifecycleDetails.Builder>serializableBuilderClass()AwsBackupBackupPlanLifecycleDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deleteAfterDays
public final Long deleteAfterDays()
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus
MoveToColdStorageAfterDays.- Returns:
- Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90
days plus
MoveToColdStorageAfterDays.
-
moveToColdStorageAfterDays
public final Long moveToColdStorageAfterDays()
Specifies the number of days after creation that a recovery point is moved to cold storage.
- Returns:
- Specifies the number of days after creation that a recovery point is moved to cold storage.
-
toBuilder
public AwsBackupBackupPlanLifecycleDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsBackupBackupPlanLifecycleDetails.Builder,AwsBackupBackupPlanLifecycleDetails>
-
builder
public static AwsBackupBackupPlanLifecycleDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsBackupBackupPlanLifecycleDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-