@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()
For responses, this returns true if the service returned a value for the PolicyIds property.
|
boolean |
hasResourceTypes()
For responses, this returns true if the service returned a value for the ResourceTypes property.
|
boolean |
hasTagsToAdd()
For responses, this returns true if the service returned a value for the TagsToAdd property.
|
boolean |
hasTargetTags()
For responses, this returns true if the service returned a value for the TargetTags property.
|
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPolicyIds() method.
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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceTypes() method.
public final boolean hasResourceTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> resourceTypesAsStrings()
The resource type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceTypes() method.
public final boolean hasTargetTags()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargetTags() method.
Tags are strings in the format key=value.
public final boolean hasTagsToAdd()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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 Amazon Web Services-added lifecycle tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTagsToAdd() method.
Tags are strings in the format key=value.
These user-defined tags are added in addition to the Amazon Web Services-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 © 2023. All rights reserved.