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 FailureConditions

    • Constructor Detail

      • FailureConditions

        public FailureConditions()
    • Method Detail

      • setResult

        public void setResult(String result)

        The specified result for when the failure conditions are met, such as rolling back the stage.

        Parameters:
        result - The specified result for when the failure conditions are met, such as rolling back the stage.
        See Also:
        Result
      • getResult

        public String getResult()

        The specified result for when the failure conditions are met, such as rolling back the stage.

        Returns:
        The specified result for when the failure conditions are met, such as rolling back the stage.
        See Also:
        Result
      • withResult

        public FailureConditions withResult(String result)

        The specified result for when the failure conditions are met, such as rolling back the stage.

        Parameters:
        result - The specified result for when the failure conditions are met, such as rolling back the stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result
      • withResult

        public FailureConditions withResult(Result result)

        The specified result for when the failure conditions are met, such as rolling back the stage.

        Parameters:
        result - The specified result for when the failure conditions are met, such as rolling back the stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Result
      • getConditions

        public List<Condition> getConditions()

        The conditions that are configured as failure conditions.

        Returns:
        The conditions that are configured as failure conditions.
      • setConditions

        public void setConditions(Collection<Condition> conditions)

        The conditions that are configured as failure conditions.

        Parameters:
        conditions - The conditions that are configured as failure conditions.
      • withConditions

        public FailureConditions withConditions(Condition... conditions)

        The conditions that are configured as failure conditions.

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

        Parameters:
        conditions - The conditions that are configured as failure conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withConditions

        public FailureConditions withConditions(Collection<Condition> conditions)

        The conditions that are configured as failure conditions.

        Parameters:
        conditions - The conditions that are configured as failure conditions.
        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 によって変換されたページ (->オリジナル) /