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

Class CreateRuleRequest

    • Constructor Detail

      • CreateRuleRequest

        public CreateRuleRequest()
    • Method Detail

      • setListenerArn

        public void setListenerArn(String listenerArn)

        The Amazon Resource Name (ARN) of the listener.

        Parameters:
        listenerArn - The Amazon Resource Name (ARN) of the listener.
      • getListenerArn

        public String getListenerArn()

        The Amazon Resource Name (ARN) of the listener.

        Returns:
        The Amazon Resource Name (ARN) of the listener.
      • withListenerArn

        public CreateRuleRequest withListenerArn(String listenerArn)

        The Amazon Resource Name (ARN) of the listener.

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

        public List<RuleCondition> getConditions()

        The conditions.

        Returns:
        The conditions.
      • setConditions

        public void setConditions(Collection<RuleCondition> conditions)

        The conditions.

        Parameters:
        conditions - The conditions.
      • withConditions

        public CreateRuleRequest withConditions(Collection<RuleCondition> conditions)

        The conditions.

        Parameters:
        conditions - The conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPriority

        public void setPriority(Integer priority)

        The rule priority. A listener can't have multiple rules with the same priority.

        Parameters:
        priority - The rule priority. A listener can't have multiple rules with the same priority.
      • getPriority

        public Integer getPriority()

        The rule priority. A listener can't have multiple rules with the same priority.

        Returns:
        The rule priority. A listener can't have multiple rules with the same priority.
      • withPriority

        public CreateRuleRequest withPriority(Integer priority)

        The rule priority. A listener can't have multiple rules with the same priority.

        Parameters:
        priority - The rule priority. A listener can't have multiple rules with the same priority.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getActions

        public List<Action> getActions()

        The actions.

        Returns:
        The actions.
      • setActions

        public void setActions(Collection<Action> actions)

        The actions.

        Parameters:
        actions - The actions.
      • withActions

        public CreateRuleRequest withActions(Collection<Action> actions)

        The actions.

        Parameters:
        actions - The actions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        The tags to assign to the rule.

        Returns:
        The tags to assign to the rule.
      • setTags

        public void setTags(Collection<Tag> tags)

        The tags to assign to the rule.

        Parameters:
        tags - The tags to assign to the rule.
      • withTags

        public CreateRuleRequest withTags(Tag... tags)

        The tags to assign to the rule.

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

        public CreateRuleRequest withTags(Collection<Tag> tags)

        The tags to assign to the rule.

        Parameters:
        tags - The tags to assign to the rule.
        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 によって変換されたページ (->オリジナル) /