JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.opensearchserverless.model

Class CreateLifecyclePolicyRequest

    • Constructor Detail

      • CreateLifecyclePolicyRequest

        public CreateLifecyclePolicyRequest()
    • Method Detail

      • setClientToken

        public void setClientToken(String clientToken)

        A unique, case-sensitive identifier to ensure idempotency of the request.

        Parameters:
        clientToken - A unique, case-sensitive identifier to ensure idempotency of the request.
      • getClientToken

        public String getClientToken()

        A unique, case-sensitive identifier to ensure idempotency of the request.

        Returns:
        A unique, case-sensitive identifier to ensure idempotency of the request.
      • withClientToken

        public CreateLifecyclePolicyRequest withClientToken(String clientToken)

        A unique, case-sensitive identifier to ensure idempotency of the request.

        Parameters:
        clientToken - A unique, case-sensitive identifier to ensure idempotency of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        A description of the lifecycle policy.

        Parameters:
        description - A description of the lifecycle policy.
      • getDescription

        public String getDescription()

        A description of the lifecycle policy.

        Returns:
        A description of the lifecycle policy.
      • withDescription

        public CreateLifecyclePolicyRequest withDescription(String description)

        A description of the lifecycle policy.

        Parameters:
        description - A description of the lifecycle policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName(String name)

        The name of the lifecycle policy.

        Parameters:
        name - The name of the lifecycle policy.
      • getName

        public String getName()

        The name of the lifecycle policy.

        Returns:
        The name of the lifecycle policy.
      • withName

        public CreateLifecyclePolicyRequest withName(String name)

        The name of the lifecycle policy.

        Parameters:
        name - The name of the lifecycle policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPolicy

        public void setPolicy(String policy)

        The JSON policy document to use as the content for the lifecycle policy.

        Parameters:
        policy - The JSON policy document to use as the content for the lifecycle policy.
      • getPolicy

        public String getPolicy()

        The JSON policy document to use as the content for the lifecycle policy.

        Returns:
        The JSON policy document to use as the content for the lifecycle policy.
      • withPolicy

        public CreateLifecyclePolicyRequest withPolicy(String policy)

        The JSON policy document to use as the content for the lifecycle policy.

        Parameters:
        policy - The JSON policy document to use as the content for the lifecycle policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType(String type)

        The type of lifecycle policy.

        Parameters:
        type - The type of lifecycle policy.
        See Also:
        LifecyclePolicyType
      • getType

        public String getType()

        The type of lifecycle policy.

        Returns:
        The type of lifecycle policy.
        See Also:
        LifecyclePolicyType
      • withType

        public CreateLifecyclePolicyRequest withType(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
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /