@Generated(value="software.amazon.awssdk:codegen") public class MessageRequest extends Object implements StructuredPojo, ToCopyableBuilder<MessageRequest.Builder,MessageRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
MessageRequest.Builder |
Modifier and Type | Method and 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.
|
Map<String,EndpointSendConfiguration> |
endpoints()
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.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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() |
copy
public Map<String,AddressConfiguration> addresses()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,String> context()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,EndpointSendConfiguration> endpoints()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.