@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) |
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 ObjectObject.toString()public StructuredMessageFieldNameAndDataTypePair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.