StructuredPojo
, ToCopyableBuilder<MessageRequest.Builder,MessageRequest>
@Generated("software.amazon.awssdk:codegen") public class MessageRequest extends Object implements StructuredPojo, ToCopyableBuilder<MessageRequest.Builder,MessageRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
MessageRequest.Builder |
Modifier and Type | Method | Description |
---|---|---|
Map<String,AddressConfiguration> |
addresses() |
A map of destination addresses, with the address as the key(Email address, phone number or push token) and the
Address Configuration as the value.
|
static MessageRequest.Builder |
builder() |
|
Map<String,String> |
context() |
A map of custom attributes to attributes to be attached to the message.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
DirectMessageConfiguration |
messageConfiguration() |
Message configuration.
|
static Class<? extends MessageRequest.Builder> |
serializableBuilderClass() |
|
MessageRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Map<String,AddressConfiguration> addresses()
public Map<String,String> context()
public DirectMessageConfiguration messageConfiguration()
public MessageRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MessageRequest.Builder,MessageRequest>
public static MessageRequest.Builder builder()
public static Class<? extends MessageRequest.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.