Interface GetVoiceChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVoiceChannelResponse.Builder,,GetVoiceChannelResponse> PinpointResponse.Builder,SdkBuilder<GetVoiceChannelResponse.Builder,,GetVoiceChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetVoiceChannelResponse
public static interface GetVoiceChannelResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetVoiceChannelResponse.Builder,GetVoiceChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetVoiceChannelResponse.BuildervoiceChannelResponse(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
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, sdkFieldsMethods 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 GetVoiceChannelResponse.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.Builderavoiding the need to create one manually viaVoiceChannelResponse.builder().When the
Consumercompletes,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:
-