@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StructuredMessage extends Object implements Serializable, Cloneable, StructuredPojo
The structured message for the message signal. It can be defined with either a
primitiveMessageDefinition
, structuredMessageListDefinition
, or
structuredMessageDefinition
recursively.
Constructor and Description |
---|
StructuredMessage() |
Modifier and Type | Method and Description |
---|---|
StructuredMessage |
clone() |
boolean |
equals(Object obj) |
PrimitiveMessageDefinition |
getPrimitiveMessageDefinition()
Represents a primitive type node of the complex data structure.
|
List<StructuredMessageFieldNameAndDataTypePair> |
getStructuredMessageDefinition()
Represents a struct type node of the complex data structure.
|
StructuredMessageListDefinition |
getStructuredMessageListDefinition()
Represents a list type node of the complex data structure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPrimitiveMessageDefinition(PrimitiveMessageDefinition primitiveMessageDefinition)
Represents a primitive type node of the complex data structure.
|
void |
setStructuredMessageDefinition(Collection<StructuredMessageFieldNameAndDataTypePair> structuredMessageDefinition)
Represents a struct type node of the complex data structure.
|
void |
setStructuredMessageListDefinition(StructuredMessageListDefinition structuredMessageListDefinition)
Represents a list type node of the complex data structure.
|
String |
toString()
Returns a string representation of this object.
|
StructuredMessage |
withPrimitiveMessageDefinition(PrimitiveMessageDefinition primitiveMessageDefinition)
Represents a primitive type node of the complex data structure.
|
StructuredMessage |
withStructuredMessageDefinition(Collection<StructuredMessageFieldNameAndDataTypePair> structuredMessageDefinition)
Represents a struct type node of the complex data structure.
|
StructuredMessage |
withStructuredMessageDefinition(StructuredMessageFieldNameAndDataTypePair... structuredMessageDefinition)
Represents a struct type node of the complex data structure.
|
StructuredMessage |
withStructuredMessageListDefinition(StructuredMessageListDefinition structuredMessageListDefinition)
Represents a list type node of the complex data structure.
|
public void setPrimitiveMessageDefinition(PrimitiveMessageDefinition primitiveMessageDefinition)
Represents a primitive type node of the complex data structure.
primitiveMessageDefinition
- Represents a primitive type node of the complex data structure.public PrimitiveMessageDefinition getPrimitiveMessageDefinition()
Represents a primitive type node of the complex data structure.
public StructuredMessage withPrimitiveMessageDefinition(PrimitiveMessageDefinition primitiveMessageDefinition)
Represents a primitive type node of the complex data structure.
primitiveMessageDefinition
- Represents a primitive type node of the complex data structure.public void setStructuredMessageListDefinition(StructuredMessageListDefinition structuredMessageListDefinition)
Represents a list type node of the complex data structure.
structuredMessageListDefinition
- Represents a list type node of the complex data structure.public StructuredMessageListDefinition getStructuredMessageListDefinition()
Represents a list type node of the complex data structure.
public StructuredMessage withStructuredMessageListDefinition(StructuredMessageListDefinition structuredMessageListDefinition)
Represents a list type node of the complex data structure.
structuredMessageListDefinition
- Represents a list type node of the complex data structure.public List<StructuredMessageFieldNameAndDataTypePair> getStructuredMessageDefinition()
Represents a struct type node of the complex data structure.
public void setStructuredMessageDefinition(Collection<StructuredMessageFieldNameAndDataTypePair> structuredMessageDefinition)
Represents a struct type node of the complex data structure.
structuredMessageDefinition
- Represents a struct type node of the complex data structure.public StructuredMessage withStructuredMessageDefinition(StructuredMessageFieldNameAndDataTypePair... structuredMessageDefinition)
Represents a struct type node of the complex data structure.
NOTE: This method appends the values to the existing list (if any). Use
setStructuredMessageDefinition(java.util.Collection)
or
withStructuredMessageDefinition(java.util.Collection)
if you want to override the existing values.
structuredMessageDefinition
- Represents a struct type node of the complex data structure.public StructuredMessage withStructuredMessageDefinition(Collection<StructuredMessageFieldNameAndDataTypePair> structuredMessageDefinition)
Represents a struct type node of the complex data structure.
structuredMessageDefinition
- Represents a struct type node of the complex data structure.public String toString()
toString
in class Object
Object.toString()
public StructuredMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.