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.BuilderchannelsResponse(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
copyMethods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaChannelsResponse.builder().When the
Consumercompletes,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:
-