@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StructuredMessageFieldNameAndDataTypePair extends Object implements Serializable, Cloneable, StructuredPojo
Represents a StructureMessageName
to DataType
map element.
Constructor and Description |
---|
StructuredMessageFieldNameAndDataTypePair() |
Modifier and Type | Method and Description |
---|---|
StructuredMessageFieldNameAndDataTypePair |
clone() |
boolean |
equals(Object obj) |
StructuredMessage |
getDataType()
The data type.
|
String |
getFieldName()
The field name of the structured message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataType(StructuredMessage dataType)
The data type.
|
void |
setFieldName(String fieldName)
The field name of the structured message.
|
String |
toString()
Returns a string representation of this object.
|
StructuredMessageFieldNameAndDataTypePair |
withDataType(StructuredMessage dataType)
The data type.
|
StructuredMessageFieldNameAndDataTypePair |
withFieldName(String fieldName)
The field name of the structured message.
|
public StructuredMessageFieldNameAndDataTypePair()
public void setFieldName(String fieldName)
The field name of the structured message. It determines how a data value is referenced in the target language.
fieldName
- The field name of the structured message. It determines how a data value is referenced in the target
language.public String getFieldName()
The field name of the structured message. It determines how a data value is referenced in the target language.
public StructuredMessageFieldNameAndDataTypePair withFieldName(String fieldName)
The field name of the structured message. It determines how a data value is referenced in the target language.
fieldName
- The field name of the structured message. It determines how a data value is referenced in the target
language.public void setDataType(StructuredMessage dataType)
The data type.
dataType
- The data type.public StructuredMessage getDataType()
The data type.
public StructuredMessageFieldNameAndDataTypePair withDataType(StructuredMessage dataType)
The data type.
dataType
- The data type.public String toString()
toString
in class Object
Object.toString()
public StructuredMessageFieldNameAndDataTypePair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.