Interface EffectiveLifecyclePolicyDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EffectiveLifecyclePolicyDetail.Builder,
,EffectiveLifecyclePolicyDetail> SdkBuilder<EffectiveLifecyclePolicyDetail.Builder,
,EffectiveLifecyclePolicyDetail> SdkPojo
- Enclosing class:
EffectiveLifecyclePolicyDetail
@Mutable
@NotThreadSafe
public static interface EffectiveLifecyclePolicyDetail.Builder
extends SdkPojo, CopyableBuilder<EffectiveLifecyclePolicyDetail.Builder,EffectiveLifecyclePolicyDetail>
-
Method Summary
Modifier and TypeMethodDescriptionnoMinRetentionPeriod
(Boolean noMinRetentionPeriod) The minimum number of index retention days set.policyName
(String policyName) The name of the lifecycle policy.The name of the OpenSearch Serverless index resource.resourceType
(String resourceType) The type of OpenSearch Serverless resource.resourceType
(ResourceType resourceType) The type of OpenSearch Serverless resource.retentionPeriod
(String retentionPeriod) The minimum number of index retention in days or hours.The type of lifecycle policy.type
(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 Details
-
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:
-
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:
-
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.
-
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.
-
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
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:
-
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.
-
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.- Parameters:
noMinRetentionPeriod
- The minimum number of index retention days set. That is an optional param that will return astrue
if 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.
-