JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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.servicediscovery.model

Class CreateHttpNamespaceRequest

    • Constructor Detail

      • CreateHttpNamespaceRequest

        public CreateHttpNamespaceRequest()
    • Method Detail

      • setName

        public void setName(String name)

        The name that you want to assign to this namespace.

        Parameters:
        name - The name that you want to assign to this namespace.
      • getName

        public String getName()

        The name that you want to assign to this namespace.

        Returns:
        The name that you want to assign to this namespace.
      • withName

        public CreateHttpNamespaceRequest withName(String name)

        The name that you want to assign to this namespace.

        Parameters:
        name - The name that you want to assign to this namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatorRequestId

        public void setCreatorRequestId(String creatorRequestId)

        A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).

        Parameters:
        creatorRequestId - A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).
      • getCreatorRequestId

        public String getCreatorRequestId()

        A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).

        Returns:
        A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).
      • withCreatorRequestId

        public CreateHttpNamespaceRequest withCreatorRequestId(String creatorRequestId)

        A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).

        Parameters:
        creatorRequestId - A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        A description for the namespace.

        Parameters:
        description - A description for the namespace.
      • getDescription

        public String getDescription()

        A description for the namespace.

        Returns:
        A description for the namespace.
      • withDescription

        public CreateHttpNamespaceRequest withDescription(String description)

        A description for the namespace.

        Parameters:
        description - A description for the namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

        Returns:
        The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
      • setTags

        public void setTags(Collection<Tag> tags)

        The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

        Parameters:
        tags - The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
      • withTags

        public CreateHttpNamespaceRequest withTags(Tag... tags)

        The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateHttpNamespaceRequest withTags(Collection<Tag> tags)

        The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

        Parameters:
        tags - The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /