public static interface GetChannelsResponse.Builder extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetChannelsResponse.Builder,GetChannelsResponse>
Modifier and Type | Method and Description |
---|---|
GetChannelsResponse.Builder |
channelsResponse(ChannelsResponse channelsResponse)
Sets the value of the ChannelsResponse property for this object.
|
default GetChannelsResponse.Builder |
channelsResponse(Consumer<ChannelsResponse.Builder> channelsResponse)
Sets the value of the ChannelsResponse property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetChannelsResponse.Builder channelsResponse(ChannelsResponse channelsResponse)
channelsResponse
- The new value for the ChannelsResponse property for this object.default GetChannelsResponse.Builder channelsResponse(Consumer<ChannelsResponse.Builder> channelsResponse)
ChannelsResponse.Builder
avoiding the need to
create one manually via ChannelsResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to channelsResponse(ChannelsResponse)
.channelsResponse
- a consumer that will call methods on ChannelsResponse.Builder
channelsResponse(ChannelsResponse)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.