Interface UpdateSupplyChainPolicyExceptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContinuumRequest.Builder,CopyableBuilder<UpdateSupplyChainPolicyExceptionRequest.Builder,,UpdateSupplyChainPolicyExceptionRequest> SdkBuilder<UpdateSupplyChainPolicyExceptionRequest.Builder,,UpdateSupplyChainPolicyExceptionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSupplyChainPolicyExceptionRequest
@Mutable
@NotThreadSafe
public static interface UpdateSupplyChainPolicyExceptionRequest.Builder
extends ContinuumRequest.Builder, SdkPojo, CopyableBuilder<UpdateSupplyChainPolicyExceptionRequest.Builder,UpdateSupplyChainPolicyExceptionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionexception(Consumer<SupplyChainPolicyException.Builder> exception) The updated policy exception.exception(SupplyChainPolicyException exception) The updated policy exception.The ID of the policy exception to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumRequest.Builder
buildMethods 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 ID of the policy exception to update.
- Parameters:
id- The ID of the policy exception to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exception
The updated policy exception. The name and policyArn must match the existing exception.
- Parameters:
exception- The updated policy exception. The name and policyArn must match the existing exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exception
default UpdateSupplyChainPolicyExceptionRequest.Builder exception(Consumer<SupplyChainPolicyException.Builder> exception) The updated policy exception. The name and policyArn must match the existing exception.
This is a convenience method that creates an instance of theSupplyChainPolicyException.Builderavoiding the need to create one manually viaSupplyChainPolicyException.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexception(SupplyChainPolicyException).- Parameters:
exception- a consumer that will call methods onSupplyChainPolicyException.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSupplyChainPolicyExceptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSupplyChainPolicyExceptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-