Interface GetChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetChannelsResponse.Builder,
,GetChannelsResponse> PinpointResponse.Builder
,SdkBuilder<GetChannelsResponse.Builder,
,GetChannelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetChannelsResponse
public static interface GetChannelsResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetChannelsResponse.Builder,GetChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetChannelsResponse.Builder
channelsResponse
(Consumer<ChannelsResponse.Builder> channelsResponse) Sets the value of the ChannelsResponse property for this object.channelsResponse
(ChannelsResponse channelsResponse) Sets the value of the ChannelsResponse 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
-
channelsResponse
Sets the value of the ChannelsResponse property for this object.- Parameters:
channelsResponse
- The new value for the ChannelsResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelsResponse
default GetChannelsResponse.Builder channelsResponse(Consumer<ChannelsResponse.Builder> channelsResponse) Sets the value of the ChannelsResponse property for this object. This is a convenience method that creates an instance of theChannelsResponse.Builder
avoiding the need to create one manually viaChannelsResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelsResponse(ChannelsResponse)
.- Parameters:
channelsResponse
- a consumer that will call methods onChannelsResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-