@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPolicyIds()
Returns true if the PolicyIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasResourceTypes()
Returns true if the ResourceTypes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTagsToAdd()
Returns true if the TagsToAdd property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTargetTags()
Returns true if the TargetTags property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasPolicyIds()
public List<String> policyIds()
The identifiers of the data lifecycle policies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicyIds() to see if a value was sent in this field.
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.
You can use hasResourceTypes() to see if a value was sent in this field.
public boolean hasResourceTypes()
public List<String> resourceTypesAsStrings()
The resource type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResourceTypes() to see if a value was sent in this field.
public boolean hasTargetTags()
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.
You can use hasTargetTags() to see if a value was sent in this field.
Tags are strings in the format key=value.
public boolean hasTagsToAdd()
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.
You can use hasTagsToAdd() to see if a value was sent in this field.
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()
toBuilder in interface ToCopyableBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>toBuilder in class DlmRequestpublic static GetLifecyclePoliciesRequest.Builder builder()
public static Class<? extends GetLifecyclePoliciesRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.