Interface GetEmailChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEmailChannelResponse.Builder,
,GetEmailChannelResponse> PinpointResponse.Builder
,SdkBuilder<GetEmailChannelResponse.Builder,
,GetEmailChannelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEmailChannelResponse
public static interface GetEmailChannelResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetEmailChannelResponse.Builder,GetEmailChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetEmailChannelResponse.Builder
emailChannelResponse
(Consumer<EmailChannelResponse.Builder> emailChannelResponse) Sets the value of the EmailChannelResponse property for this object.emailChannelResponse
(EmailChannelResponse emailChannelResponse) Sets the value of the EmailChannelResponse property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
emailChannelResponse
Sets the value of the EmailChannelResponse property for this object.- Parameters:
emailChannelResponse
- The new value for the EmailChannelResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailChannelResponse
default GetEmailChannelResponse.Builder emailChannelResponse(Consumer<EmailChannelResponse.Builder> emailChannelResponse) Sets the value of the EmailChannelResponse property for this object. This is a convenience method that creates an instance of theEmailChannelResponse.Builder
avoiding the need to create one manually viaEmailChannelResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemailChannelResponse(EmailChannelResponse)
.- Parameters:
emailChannelResponse
- a consumer that will call methods onEmailChannelResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-