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