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