@Generated(value="software.amazon.awssdk:codegen") public final class EffectiveLifecyclePolicyDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EffectiveLifecyclePolicyDetail.Builder,EffectiveLifecyclePolicyDetail>
Error information for an OpenSearch Serverless request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EffectiveLifecyclePolicyDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EffectiveLifecyclePolicyDetail.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
noMinRetentionPeriod()
The minimum number of index retention days set.
|
String |
policyName()
The name of the lifecycle policy.
|
String |
resource()
The name of the OpenSearch Serverless index resource.
|
ResourceType |
resourceType()
The type of OpenSearch Serverless resource.
|
String |
resourceTypeAsString()
The type of OpenSearch Serverless resource.
|
String |
retentionPeriod()
The minimum number of index retention in days or hours.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EffectiveLifecyclePolicyDetail.Builder> |
serializableBuilderClass() |
EffectiveLifecyclePolicyDetail.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 Boolean noMinRetentionPeriod()
The minimum number of index retention days set. That is an optional param that will return as true
if the minimum number of days or hours is not set to a index resource.
true if the minimum number of days or hours is not set to a index resource.public final String policyName()
The name of the lifecycle policy.
public final String resource()
The name of the OpenSearch Serverless index resource.
public final ResourceType resourceType()
The type of OpenSearch Serverless resource. Currently, the only supported resource is index.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
index.ResourceTypepublic final String resourceTypeAsString()
The type of OpenSearch Serverless resource. Currently, the only supported resource is index.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
index.ResourceTypepublic final String retentionPeriod()
The minimum number of index retention in days or hours. This is an optional parameter that will return only if it’s set.
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 EffectiveLifecyclePolicyDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EffectiveLifecyclePolicyDetail.Builder,EffectiveLifecyclePolicyDetail>public static EffectiveLifecyclePolicyDetail.Builder builder()
public static Class<? extends EffectiveLifecyclePolicyDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.