@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 final boolean hasPolicyIds()
public final 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 final 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 final 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 final 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 final boolean hasResourceTypes()
public final 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 final boolean hasTargetTags()
public final 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 final boolean hasTagsToAdd()
public final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.