Interface AcceptChannelHandshakeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AcceptChannelHandshakeResponse.Builder,,AcceptChannelHandshakeResponse> PartnerCentralChannelResponse.Builder,SdkBuilder<AcceptChannelHandshakeResponse.Builder,,AcceptChannelHandshakeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AcceptChannelHandshakeResponse
@Mutable
@NotThreadSafe
public static interface AcceptChannelHandshakeResponse.Builder
extends PartnerCentralChannelResponse.Builder, SdkPojo, CopyableBuilder<AcceptChannelHandshakeResponse.Builder,AcceptChannelHandshakeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelHandshakeDetail(Consumer<AcceptChannelHandshakeDetail.Builder> channelHandshakeDetail) Details of the accepted channel handshake.channelHandshakeDetail(AcceptChannelHandshakeDetail channelHandshakeDetail) Details of the accepted 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
AcceptChannelHandshakeResponse.Builder channelHandshakeDetail(AcceptChannelHandshakeDetail channelHandshakeDetail) Details of the accepted channel handshake.
- Parameters:
channelHandshakeDetail- Details of the accepted channel handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelHandshakeDetail
default AcceptChannelHandshakeResponse.Builder channelHandshakeDetail(Consumer<AcceptChannelHandshakeDetail.Builder> channelHandshakeDetail) Details of the accepted channel handshake.
This is a convenience method that creates an instance of theAcceptChannelHandshakeDetail.Builderavoiding the need to create one manually viaAcceptChannelHandshakeDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelHandshakeDetail(AcceptChannelHandshakeDetail).- Parameters:
channelHandshakeDetail- a consumer that will call methods onAcceptChannelHandshakeDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-