Class ValidationWarning

java.lang.Object
com.amazonaws.services.datapipeline.model.ValidationWarning
All Implemented Interfaces:
Serializable, Cloneable

public class ValidationWarning extends Object implements Serializable, Cloneable

Defines a validation warning. Validation warnings do not prevent pipeline activation. The set of validation warnings that can be returned are defined by AWS Data Pipeline.

See Also:
  • Constructor Details

    • ValidationWarning

      public ValidationWarning()
  • Method Details

    • setId

      public void setId(String id)

      The identifier of the object that contains the validation warning.

      Parameters:
      id - The identifier of the object that contains the validation warning.
    • getId

      public String getId()

      The identifier of the object that contains the validation warning.

      Returns:
      The identifier of the object that contains the validation warning.
    • withId

      public ValidationWarning withId(String id)

      The identifier of the object that contains the validation warning.

      Parameters:
      id - The identifier of the object that contains the validation warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getWarnings

      public List<String> getWarnings()

      A description of the validation warning.

      Returns:
      A description of the validation warning.
    • setWarnings

      public void setWarnings(Collection<String> warnings)

      A description of the validation warning.

      Parameters:
      warnings - A description of the validation warning.
    • withWarnings

      public ValidationWarning withWarnings(String... warnings)

      A description of the validation warning.

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

      Parameters:
      warnings - A description of the validation warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withWarnings

      public ValidationWarning withWarnings(Collection<String> warnings)

      A description of the validation warning.

      Parameters:
      warnings - A description of the validation warning.
      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; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ValidationWarning clone()
      Overrides:
      clone in class Object