@Generated(value="software.amazon.awssdk:codegen") public final class LifecyclePolicySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifecyclePolicySummary.Builder,LifecyclePolicySummary>
A summary of the lifecycle policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LifecyclePolicySummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LifecyclePolicySummary.Builder |
builder() |
Long |
createdDate()
The Epoch time when the lifecycle policy was created.
|
String |
description()
The description of the lifecycle policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastModifiedDate()
The date and time when the lifecycle policy was last modified.
|
String |
name()
The name of the lifecycle policy.
|
String |
policyVersion()
The version of the lifecycle policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LifecyclePolicySummary.Builder> |
serializableBuilderClass() |
LifecyclePolicySummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyType |
type()
The type of lifecycle policy.
|
String |
typeAsString()
The type of lifecycle policy.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long createdDate()
The Epoch time when the lifecycle policy was created.
public final String description()
The description of the lifecycle policy.
public final Long lastModifiedDate()
The date and time when the lifecycle policy was last modified.
public final String name()
The name of the lifecycle policy.
public final String policyVersion()
The version of the lifecycle policy.
public final LifecyclePolicyType type()
The type of lifecycle policy.
If the service returns an enum value that is not available in the current SDK version, type will return
LifecyclePolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
LifecyclePolicyTypepublic final String typeAsString()
The type of lifecycle policy.
If the service returns an enum value that is not available in the current SDK version, type will return
LifecyclePolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
LifecyclePolicyTypepublic LifecyclePolicySummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LifecyclePolicySummary.Builder,LifecyclePolicySummary>public static LifecyclePolicySummary.Builder builder()
public static Class<? extends LifecyclePolicySummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.