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