Interface ChannelContractDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelContractDetail.Builder,,ChannelContractDetail> SdkBuilder<ChannelContractDetail.Builder,,ChannelContractDetail> SdkPojo
- Enclosing class:
ChannelContractDetail
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the channel contract.cancellationReason(String cancellationReason) The reason the channel contract was canceled, if one was provided.The catalog identifier associated with the channel contract.contractType(String contractType) The type of the channel contract.contractType(ChannelContractType contractType) The type of the channel contract.The timestamp when the channel contract was created.default ChannelContractDetail.Builderdetails(Consumer<ChannelContractDetails.Builder> details) Type-specific details of the channel contract.details(ChannelContractDetails details) Type-specific details of the channel contract.The unique identifier of the channel contract.respondedAt(Instant respondedAt) The timestamp when the channel contract was accepted, if applicable.The current status of the channel contract.status(ChannelContractStatus status) The current status of the channel contract.The timestamp when the channel contract was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier of the channel contract.
- Parameters:
id- The unique identifier of the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the channel contract.
- Parameters:
arn- The Amazon Resource Name (ARN) of the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
The catalog identifier associated with the channel contract.
- Parameters:
catalog- The catalog identifier associated with the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractType
The type of the channel contract.
- Parameters:
contractType- The type of the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contractType
The type of the channel contract.
- Parameters:
contractType- The type of the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the channel contract.
- Parameters:
status- The current status of the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the channel contract.
- Parameters:
status- The current status of the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the channel contract was created.
- Parameters:
createdAt- The timestamp when the channel contract was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the channel contract was last updated.
- Parameters:
updatedAt- The timestamp when the channel contract was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
respondedAt
The timestamp when the channel contract was accepted, if applicable.
- Parameters:
respondedAt- The timestamp when the channel contract was accepted, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancellationReason
The reason the channel contract was canceled, if one was provided.
- Parameters:
cancellationReason- The reason the channel contract was canceled, if one was provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Type-specific details of the channel contract.
- Parameters:
details- Type-specific details of the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Type-specific details of the channel contract.
This is a convenience method that creates an instance of theChannelContractDetails.Builderavoiding the need to create one manually viaChannelContractDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetails(ChannelContractDetails).- Parameters:
details- a consumer that will call methods onChannelContractDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-