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

public class Field extends Object implements Serializable, Cloneable

A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.

See Also:
  • Constructor Details

    • Field

      public Field()
  • Method Details

    • setKey

      public void setKey(String key)

      The field identifier.

      Parameters:
      key - The field identifier.
    • getKey

      public String getKey()

      The field identifier.

      Returns:
      The field identifier.
    • withKey

      public Field withKey(String key)

      The field identifier.

      Parameters:
      key - The field identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStringValue

      public void setStringValue(String stringValue)

      The field value, expressed as a String.

      Parameters:
      stringValue - The field value, expressed as a String.
    • getStringValue

      public String getStringValue()

      The field value, expressed as a String.

      Returns:
      The field value, expressed as a String.
    • withStringValue

      public Field withStringValue(String stringValue)

      The field value, expressed as a String.

      Parameters:
      stringValue - The field value, expressed as a String.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRefValue

      public void setRefValue(String refValue)

      The field value, expressed as the identifier of another object.

      Parameters:
      refValue - The field value, expressed as the identifier of another object.
    • getRefValue

      public String getRefValue()

      The field value, expressed as the identifier of another object.

      Returns:
      The field value, expressed as the identifier of another object.
    • withRefValue

      public Field withRefValue(String refValue)

      The field value, expressed as the identifier of another object.

      Parameters:
      refValue - The field value, expressed as the identifier of another object.
      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 Field clone()
      Overrides:
      clone in class Object