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