@Generated(value="software.amazon.awssdk:codegen") public class Field extends Object implements StructuredPojo, ToCopyableBuilder<Field.Builder,Field>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
Field.Builder |
Modifier and Type | Method and Description |
---|---|
static Field.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The field identifier.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
refValue()
The field value, expressed as the identifier of another object.
|
static Class<? extends Field.Builder> |
serializableBuilderClass() |
String |
stringValue()
The field value, expressed as a String.
|
Field.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String key()
The field identifier.
public String stringValue()
The field value, expressed as a String.
public String refValue()
The field value, expressed as the identifier of another object.
public Field.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Field.Builder,Field>
public static Field.Builder builder()
public static Class<? extends Field.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.