Class Field
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Field()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Fieldclone()booleanequals(Object obj)StringgetKey()The field identifier.StringgetRefValue()The field value, expressed as the identifier of another object.StringgetStringValue()The field value, expressed as a String.inthashCode()voidsetKey(String key)The field identifier.voidsetRefValue(String refValue)The field value, expressed as the identifier of another object.voidsetStringValue(String stringValue)The field value, expressed as a String.StringtoString()Returns a string representation of this object; useful for testing and debugging.FieldwithKey(String key)The field identifier.FieldwithRefValue(String refValue)The field value, expressed as the identifier of another object.FieldwithStringValue(String stringValue)The field value, expressed as a String.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-