@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Field extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
Field |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The field identifier.
|
String |
getRefValue()
The field value, expressed as the identifier of another object.
|
String |
getStringValue()
The field value, expressed as a String.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The field identifier.
|
void |
setRefValue(String refValue)
The field value, expressed as the identifier of another object.
|
void |
setStringValue(String stringValue)
The field value, expressed as a String.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Field |
withKey(String key)
The field identifier.
|
Field |
withRefValue(String refValue)
The field value, expressed as the identifier of another object.
|
Field |
withStringValue(String stringValue)
The field value, expressed as a String.
|
public void setKey(String key)
The field identifier.
key
- The field identifier.public String getKey()
The field identifier.
public Field withKey(String key)
The field identifier.
key
- The field identifier.public void setStringValue(String stringValue)
The field value, expressed as a String.
stringValue
- The field value, expressed as a String.public String getStringValue()
The field value, expressed as a String.
public Field withStringValue(String stringValue)
The field value, expressed as a String.
stringValue
- The field value, expressed as a String.public void setRefValue(String refValue)
The field value, expressed as the identifier of another object.
refValue
- The field value, expressed as the identifier of another object.public String getRefValue()
The field value, expressed as the identifier of another object.
public Field withRefValue(String refValue)
The field value, expressed as the identifier of another object.
refValue
- The field value, expressed as the identifier of another object.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.