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

Class Condition

    • Constructor Detail

      • Condition

        public Condition()
    • Method Detail

      • setResult

        public void setResult(String result)

        The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

        Parameters:
        result - The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
        See Also:
        Result
      • getResult

        public String getResult()

        The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

        Returns:
        The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
        See Also:
        Result
      • withResult

        public Condition withResult(String result)

        The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

        Parameters:
        result - The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result
      • withResult

        public Condition withResult(Result result)

        The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

        Parameters:
        result - The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result
      • getRules

        public List<RuleDeclaration> getRules()

        The rules that make up the condition.

        Returns:
        The rules that make up the condition.
      • setRules

        public void setRules(Collection<RuleDeclaration> rules)

        The rules that make up the condition.

        Parameters:
        rules - The rules that make up the condition.
      • withRules

        public Condition withRules(RuleDeclaration... rules)

        The rules that make up the condition.

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

        Parameters:
        rules - The rules that make up the condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRules

        public Condition withRules(Collection<RuleDeclaration> rules)

        The rules that make up the condition.

        Parameters:
        rules - The rules that make up the condition.
        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 によって変換されたページ (->オリジナル) /