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

Class CreateTargetGroupRequest

    • Constructor Detail

      • CreateTargetGroupRequest

        public CreateTargetGroupRequest()
    • Method Detail

      • setClientToken

        public void setClientToken(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
      • getClientToken

        public String getClientToken()

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

        Returns:
        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
      • withClientToken

        public CreateTargetGroupRequest withClientToken(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfig

        public void setConfig(TargetGroupConfig config)

        The target group configuration.

        Parameters:
        config - The target group configuration.
      • getConfig

        public TargetGroupConfig getConfig()

        The target group configuration.

        Returns:
        The target group configuration.
      • withConfig

        public CreateTargetGroupRequest withConfig(TargetGroupConfig config)

        The target group configuration.

        Parameters:
        config - The target group configuration.
        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 target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

        Parameters:
        name - The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
      • getName

        public String getName()

        The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

        Returns:
        The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
      • withName

        public CreateTargetGroupRequest withName(String name)

        The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

        Parameters:
        name - The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public Map<String,String> getTags()

        The tags for the target group.

        Returns:
        The tags for the target group.
      • setTags

        public void setTags(Map<String,String> tags)

        The tags for the target group.

        Parameters:
        tags - The tags for the target group.
      • withTags

        public CreateTargetGroupRequest withTags(Map<String,String> tags)

        The tags for the target group.

        Parameters:
        tags - The tags for the target group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearTagsEntries

        public CreateTargetGroupRequest clearTagsEntries()
        Removes all the entries added into Tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType(String type)

        The type of target group.

        Parameters:
        type - The type of target group.
        See Also:
        TargetGroupType
      • getType

        public String getType()

        The type of target group.

        Returns:
        The type of target group.
        See Also:
        TargetGroupType
      • withType

        public CreateTargetGroupRequest withType(String type)

        The type of target group.

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