@Generated(value="software.amazon.awssdk:codegen") public final class MessageRequest extends Object implements SdkPojo, Serializable, 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 key-value pairs, where each key is an address and each value is an AddressConfiguration object.
|
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 key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DirectMessageConfiguration |
messageConfiguration()
Message configuration.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
traceId()
A unique ID that you can use to trace a message.
|
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 String traceId()
public MessageRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MessageRequest.Builder,MessageRequest>
public static MessageRequest.Builder builder()
public static Class<? extends MessageRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.