Interface ChannelContractPayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelContractPayload.Builder,,ChannelContractPayload> SdkBuilder<ChannelContractPayload.Builder,,ChannelContractPayload> SdkPojo
- Enclosing class:
ChannelContractPayload
@Mutable
@NotThreadSafe
public static interface ChannelContractPayload.Builder
extends SdkPojo, CopyableBuilder<ChannelContractPayload.Builder,ChannelContractPayload>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelContractPayload.BuildermanagedServicesAttestationPayload(Consumer<ManagedServicesAttestationPayload.Builder> managedServicesAttestationPayload) Payload for creating a managed services attestation channel contract.managedServicesAttestationPayload(ManagedServicesAttestationPayload managedServicesAttestationPayload) Payload for creating a managed services attestation channel contract.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
-
managedServicesAttestationPayload
ChannelContractPayload.Builder managedServicesAttestationPayload(ManagedServicesAttestationPayload managedServicesAttestationPayload) Payload for creating a managed services attestation channel contract. Applies only to managed services attestation channel contracts.
- Parameters:
managedServicesAttestationPayload- Payload for creating a managed services attestation channel contract. Applies only to managed services attestation channel contracts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedServicesAttestationPayload
default ChannelContractPayload.Builder managedServicesAttestationPayload(Consumer<ManagedServicesAttestationPayload.Builder> managedServicesAttestationPayload) Payload for creating a managed services attestation channel contract. Applies only to managed services attestation channel contracts.
This is a convenience method that creates an instance of theManagedServicesAttestationPayload.Builderavoiding the need to create one manually viaManagedServicesAttestationPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedServicesAttestationPayload(ManagedServicesAttestationPayload).- Parameters:
managedServicesAttestationPayload- a consumer that will call methods onManagedServicesAttestationPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-