@Generated(value="software.amazon.awssdk:codegen") public final class EffectiveLifecyclePolicyErrorDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EffectiveLifecyclePolicyErrorDetail.Builder,EffectiveLifecyclePolicyErrorDetail>
Error information for an OpenSearch Serverless request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EffectiveLifecyclePolicyErrorDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EffectiveLifecyclePolicyErrorDetail.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
The error code for the request.
|
String |
errorMessage()
A description of the error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resource()
The name of OpenSearch Serverless index resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EffectiveLifecyclePolicyErrorDetail.Builder> |
serializableBuilderClass() |
EffectiveLifecyclePolicyErrorDetail.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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String errorCode()
The error code for the request.
public final String errorMessage()
A description of the error. For example, The specified Index resource is not found.
The specified Index resource is not found.public final String resource()
The name of OpenSearch Serverless index resource.
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 EffectiveLifecyclePolicyErrorDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EffectiveLifecyclePolicyErrorDetail.Builder,EffectiveLifecyclePolicyErrorDetail>public static EffectiveLifecyclePolicyErrorDetail.Builder builder()
public static Class<? extends EffectiveLifecyclePolicyErrorDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.