Interface CreateChannelHandshakeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateChannelHandshakeResponse.Builder,,CreateChannelHandshakeResponse> PartnerCentralChannelResponse.Builder,SdkBuilder<CreateChannelHandshakeResponse.Builder,,CreateChannelHandshakeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateChannelHandshakeResponse
@Mutable
@NotThreadSafe
public static interface CreateChannelHandshakeResponse.Builder
extends PartnerCentralChannelResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelHandshakeResponse.Builder,CreateChannelHandshakeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelHandshakeDetail(Consumer<CreateChannelHandshakeDetail.Builder> channelHandshakeDetail) Details of the created channel handshake.channelHandshakeDetail(CreateChannelHandshakeDetail channelHandshakeDetail) Details of the created channel handshake.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralchannel.model.PartnerCentralChannelResponse.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
-
channelHandshakeDetail
CreateChannelHandshakeResponse.Builder channelHandshakeDetail(CreateChannelHandshakeDetail channelHandshakeDetail) Details of the created channel handshake.
- Parameters:
channelHandshakeDetail- Details of the created channel handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelHandshakeDetail
default CreateChannelHandshakeResponse.Builder channelHandshakeDetail(Consumer<CreateChannelHandshakeDetail.Builder> channelHandshakeDetail) Details of the created channel handshake.
This is a convenience method that creates an instance of theCreateChannelHandshakeDetail.Builderavoiding the need to create one manually viaCreateChannelHandshakeDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelHandshakeDetail(CreateChannelHandshakeDetail).- Parameters:
channelHandshakeDetail- a consumer that will call methods onCreateChannelHandshakeDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-