@Generated(value="software.amazon.awssdk:codegen") public final class DeleteLifecyclePolicyRequest extends OpenSearchServerlessRequest implements ToCopyableBuilder<DeleteLifecyclePolicyRequest.Builder,DeleteLifecyclePolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteLifecyclePolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteLifecyclePolicyRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier to ensure idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the policy to delete.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteLifecyclePolicyRequest.Builder> |
serializableBuilderClass() |
DeleteLifecyclePolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyType |
type()
The type of lifecycle policy.
|
String |
typeAsString()
The type of lifecycle policy.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
Unique, case-sensitive identifier to ensure idempotency of the request.
public final String name()
The name of the policy to delete.
public final LifecyclePolicyType type()
The type of lifecycle policy.
If the service returns an enum value that is not available in the current SDK version, type will return
LifecyclePolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
LifecyclePolicyTypepublic final String typeAsString()
The type of lifecycle policy.
If the service returns an enum value that is not available in the current SDK version, type will return
LifecyclePolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
LifecyclePolicyTypepublic DeleteLifecyclePolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteLifecyclePolicyRequest.Builder,DeleteLifecyclePolicyRequest>toBuilder in class OpenSearchServerlessRequestpublic static DeleteLifecyclePolicyRequest.Builder builder()
public static Class<? extends DeleteLifecyclePolicyRequest.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.