@Generated(value="software.amazon.awssdk:codegen") public final class PolicyDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyDetails.Builder,PolicyDetails>
Specifies the configuration of a lifecycle policy.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyDetails.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyDetails.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<ResourceTypeValues> |
resourceTypes()
The resource type.
|
List<String> |
resourceTypesAsStrings()
The resource type.
|
List<Schedule> |
schedules()
The schedule of policy-defined actions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyDetails.Builder> |
serializableBuilderClass() |
List<Tag> |
targetTags()
The single tag that identifies targeted resources for this policy.
|
PolicyDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<ResourceTypeValues> resourceTypes()
The resource type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> resourceTypesAsStrings()
The resource type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Tag> targetTags()
The single tag that identifies targeted resources for this policy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Schedule> schedules()
The schedule of policy-defined actions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public PolicyDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyDetails.Builder,PolicyDetails>
public static PolicyDetails.Builder builder()
public static Class<? extends PolicyDetails.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.