Interface EffectiveLifecyclePolicyDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EffectiveLifecyclePolicyDetail.Builder,EffectiveLifecyclePolicyDetail>,SdkBuilder<EffectiveLifecyclePolicyDetail.Builder,EffectiveLifecyclePolicyDetail>,SdkPojo
- Enclosing class:
- EffectiveLifecyclePolicyDetail
public static interface EffectiveLifecyclePolicyDetail.Builder extends SdkPojo, CopyableBuilder<EffectiveLifecyclePolicyDetail.Builder,EffectiveLifecyclePolicyDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EffectiveLifecyclePolicyDetail.BuildernoMinRetentionPeriod(Boolean noMinRetentionPeriod)The minimum number of index retention days set.EffectiveLifecyclePolicyDetail.BuilderpolicyName(String policyName)The name of the lifecycle policy.EffectiveLifecyclePolicyDetail.Builderresource(String resource)The name of the OpenSearch Serverless index resource.EffectiveLifecyclePolicyDetail.BuilderresourceType(String resourceType)The type of OpenSearch Serverless resource.EffectiveLifecyclePolicyDetail.BuilderresourceType(ResourceType resourceType)The type of OpenSearch Serverless resource.EffectiveLifecyclePolicyDetail.BuilderretentionPeriod(String retentionPeriod)The minimum number of index retention in days or hours.EffectiveLifecyclePolicyDetail.Buildertype(String type)The type of lifecycle policy.EffectiveLifecyclePolicyDetail.Buildertype(LifecyclePolicyType type)The type of lifecycle policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
noMinRetentionPeriod
EffectiveLifecyclePolicyDetail.Builder noMinRetentionPeriod(Boolean noMinRetentionPeriod)
The minimum number of index retention days set. That is an optional param that will return as
trueif the minimum number of days or hours is not set to a index resource.- Parameters:
noMinRetentionPeriod- The minimum number of index retention days set. That is an optional param that will return astrueif the minimum number of days or hours is not set to a index resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
EffectiveLifecyclePolicyDetail.Builder policyName(String policyName)
The name of the lifecycle policy.
- Parameters:
policyName- The name of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
EffectiveLifecyclePolicyDetail.Builder resource(String resource)
The name of the OpenSearch Serverless index resource.
- Parameters:
resource- The name of the OpenSearch Serverless index resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
EffectiveLifecyclePolicyDetail.Builder resourceType(String resourceType)
The type of OpenSearch Serverless resource. Currently, the only supported resource is
index.- Parameters:
resourceType- The type of OpenSearch Serverless resource. Currently, the only supported resource isindex.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
EffectiveLifecyclePolicyDetail.Builder resourceType(ResourceType resourceType)
The type of OpenSearch Serverless resource. Currently, the only supported resource is
index.- Parameters:
resourceType- The type of OpenSearch Serverless resource. Currently, the only supported resource isindex.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
retentionPeriod
EffectiveLifecyclePolicyDetail.Builder retentionPeriod(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.
- Parameters:
retentionPeriod- The minimum number of index retention in days or hours. This is an optional parameter that will return only if it’s set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
EffectiveLifecyclePolicyDetail.Builder type(String type)
The type of lifecycle policy.
- Parameters:
type- The type of lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyType,LifecyclePolicyType
-
type
EffectiveLifecyclePolicyDetail.Builder type(LifecyclePolicyType type)
The type of lifecycle policy.
- Parameters:
type- The type of lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifecyclePolicyType,LifecyclePolicyType
-
-