Interface MessageResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MessageResponse.Builder,MessageResponse>,SdkBuilder<MessageResponse.Builder,MessageResponse>,SdkPojo
- Enclosing class:
- MessageResponse
public static interface MessageResponse.Builder extends SdkPojo, CopyableBuilder<MessageResponse.Builder,MessageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageResponse.BuilderapplicationId(String applicationId)The unique identifier for the application that was used to send the message.MessageResponse.BuilderendpointResult(Map<String,EndpointMessageResult> endpointResult)A map that contains a multipart response for each address that the message was sent to.MessageResponse.BuilderrequestId(String requestId)The identifier for the original request that the message was delivered for.MessageResponse.Builderresult(Map<String,MessageResult> result)A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
MessageResponse.Builder applicationId(String applicationId)
The unique identifier for the application that was used to send the message.
- Parameters:
applicationId- The unique identifier for the application that was used to send the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointResult
MessageResponse.Builder endpointResult(Map<String,EndpointMessageResult> endpointResult)
A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.
- Parameters:
endpointResult- A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
MessageResponse.Builder requestId(String requestId)
The identifier for the original request that the message was delivered for.
- Parameters:
requestId- The identifier for the original request that the message was delivered for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
MessageResponse.Builder result(Map<String,MessageResult> result)
A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.
- Parameters:
result- A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-