@Generated(value="software.amazon.awssdk:codegen") public final class GetLifecyclePoliciesRequest extends DlmRequest implements ToCopyableBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLifecyclePoliciesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetLifecyclePoliciesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
List<String> |
policyIds()
The identifiers of the data lifecycle policies.
|
List<ResourceTypeValues> |
resourceTypes()
The resource type.
|
List<String> |
resourceTypesAsStrings()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetLifecyclePoliciesRequest.Builder> |
serializableBuilderClass() |
GettablePolicyStateValues |
state()
The activation state.
|
String |
stateAsString()
The activation state.
|
List<String> |
tagsToAdd()
The tags to add to objects created by the policy.
|
List<String> |
targetTags()
The target tag for a policy.
|
GetLifecyclePoliciesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic List<String> policyIds()
The identifiers of the data lifecycle policies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public GettablePolicyStateValues state()
The activation state.
If the service returns an enum value that is not available in the current SDK version, state will return
GettablePolicyStateValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
GettablePolicyStateValuespublic String stateAsString()
The activation state.
If the service returns an enum value that is not available in the current SDK version, state will return
GettablePolicyStateValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
GettablePolicyStateValuespublic 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<String> targetTags()
The target tag for a policy.
Tags are strings in the format key=value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Tags are strings in the format key=value.
public List<String> tagsToAdd()
The tags to add to objects created by the policy.
Tags are strings in the format key=value.
These user-defined tags are added in addition to the AWS-added lifecycle tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Tags are strings in the format key=value.
These user-defined tags are added in addition to the AWS-added lifecycle tags.
public GetLifecyclePoliciesRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>toBuilder in class DlmRequestpublic static GetLifecyclePoliciesRequest.Builder builder()
public static Class<? extends GetLifecyclePoliciesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.