Interface EffectiveLifecyclePolicyDetail.Builder

  • 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

      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 is index.
      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 is index.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • noMinRetentionPeriod

      EffectiveLifecyclePolicyDetail.Builder noMinRetentionPeriod(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.