Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class ValidationWarning

java.lang.Object
  extended by com.amazonaws.services.datapipeline.model.ValidationWarning
All Implemented Interfaces:
Serializable

public class ValidationWarning
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
ValidationWarning()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          The identifier of the object that contains the validation warning.
 List<String> getWarnings()
          A description of the validation warning.
 int hashCode()
           
 void setId(String id)
          The identifier of the object that contains the validation warning.
 void setWarnings(Collection<String> warnings)
          A description of the validation warning.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ValidationWarning withId(String id)
          The identifier of the object that contains the validation warning.
 ValidationWarning withWarnings(Collection<String> warnings)
          A description of the validation warning.
 ValidationWarning withWarnings(String... warnings)
          A description of the validation warning.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationWarning

public ValidationWarning()
Method Detail

getId

public String getId()
The identifier of the object that contains the validation warning.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

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

setId

public void setId(String id)
The identifier of the object that contains the validation warning.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
id - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

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

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
warnings - A description of the validation warning.

withWarnings

public ValidationWarning withWarnings(Collection<String> warnings)
A description of the validation warning.

Returns a reference to this object so that method calls can be chained together.

Parameters:
warnings - A description of the validation warning.

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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.