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 CreateCollectionDetail

    • Constructor Detail

      • CreateCollectionDetail

        public CreateCollectionDetail()
    • Method Detail

      • setArn

        public void setArn(String arn)

        The Amazon Resource Name (ARN) of the collection.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the collection.
      • getArn

        public String getArn()

        The Amazon Resource Name (ARN) of the collection.

        Returns:
        The Amazon Resource Name (ARN) of the collection.
      • withArn

        public CreateCollectionDetail withArn(String arn)

        The Amazon Resource Name (ARN) of the collection.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedDate

        public void setCreatedDate(Long createdDate)

        The Epoch time when the collection was created.

        Parameters:
        createdDate - The Epoch time when the collection was created.
      • getCreatedDate

        public Long getCreatedDate()

        The Epoch time when the collection was created.

        Returns:
        The Epoch time when the collection was created.
      • withCreatedDate

        public CreateCollectionDetail withCreatedDate(Long createdDate)

        The Epoch time when the collection was created.

        Parameters:
        createdDate - The Epoch time when the collection was created.
        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 collection.

        Parameters:
        description - A description of the collection.
      • getDescription

        public String getDescription()

        A description of the collection.

        Returns:
        A description of the collection.
      • withDescription

        public CreateCollectionDetail withDescription(String description)

        A description of the collection.

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

        public void setId(String id)

        The unique identifier of the collection.

        Parameters:
        id - The unique identifier of the collection.
      • getId

        public String getId()

        The unique identifier of the collection.

        Returns:
        The unique identifier of the collection.
      • withId

        public CreateCollectionDetail withId(String id)

        The unique identifier of the collection.

        Parameters:
        id - The unique identifier of the collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKmsKeyArn

        public void setKmsKeyArn(String kmsKeyArn)

        The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.

        Parameters:
        kmsKeyArn - The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
      • getKmsKeyArn

        public String getKmsKeyArn()

        The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.

        Returns:
        The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
      • withKmsKeyArn

        public CreateCollectionDetail withKmsKeyArn(String kmsKeyArn)

        The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.

        Parameters:
        kmsKeyArn - The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastModifiedDate

        public void setLastModifiedDate(Long lastModifiedDate)

        The date and time when the collection was last modified.

        Parameters:
        lastModifiedDate - The date and time when the collection was last modified.
      • getLastModifiedDate

        public Long getLastModifiedDate()

        The date and time when the collection was last modified.

        Returns:
        The date and time when the collection was last modified.
      • withLastModifiedDate

        public CreateCollectionDetail withLastModifiedDate(Long lastModifiedDate)

        The date and time when the collection was last modified.

        Parameters:
        lastModifiedDate - The date and time when the collection was last modified.
        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 collection.

        Parameters:
        name - The name of the collection.
      • getName

        public String getName()

        The name of the collection.

        Returns:
        The name of the collection.
      • withName

        public CreateCollectionDetail withName(String name)

        The name of the collection.

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

        public void setStandbyReplicas(String standbyReplicas)

        Creates details about an OpenSearch Serverless collection.

        Parameters:
        standbyReplicas - Creates details about an OpenSearch Serverless collection.
        See Also:
        StandbyReplicas
      • getStandbyReplicas

        public String getStandbyReplicas()

        Creates details about an OpenSearch Serverless collection.

        Returns:
        Creates details about an OpenSearch Serverless collection.
        See Also:
        StandbyReplicas
      • withStandbyReplicas

        public CreateCollectionDetail withStandbyReplicas(String standbyReplicas)

        Creates details about an OpenSearch Serverless collection.

        Parameters:
        standbyReplicas - Creates details about an OpenSearch Serverless collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StandbyReplicas
      • withStandbyReplicas

        public CreateCollectionDetail withStandbyReplicas(StandbyReplicas standbyReplicas)

        Creates details about an OpenSearch Serverless collection.

        Parameters:
        standbyReplicas - Creates details about an OpenSearch Serverless collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StandbyReplicas
      • setStatus

        public void setStatus(String status)

        The current status of the collection.

        Parameters:
        status - The current status of the collection.
        See Also:
        CollectionStatus
      • getStatus

        public String getStatus()

        The current status of the collection.

        Returns:
        The current status of the collection.
        See Also:
        CollectionStatus
      • withStatus

        public CreateCollectionDetail withStatus(String status)

        The current status of the collection.

        Parameters:
        status - The current status of the collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CollectionStatus
      • withStatus

        public CreateCollectionDetail withStatus(CollectionStatus status)

        The current status of the collection.

        Parameters:
        status - The current status of the collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CollectionStatus
      • setType

        public void setType(String type)

        The type of collection.

        Parameters:
        type - The type of collection.
        See Also:
        CollectionType
      • getType

        public String getType()

        The type of collection.

        Returns:
        The type of collection.
        See Also:
        CollectionType
      • withType

        public CreateCollectionDetail withType(String type)

        The type of collection.

        Parameters:
        type - The type of collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CollectionType
      • withType

        public CreateCollectionDetail withType(CollectionType type)

        The type of collection.

        Parameters:
        type - The type of collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CollectionType
      • 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 によって変換されたページ (->オリジナル) /