Interface AmendBenefitApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AmendBenefitApplicationRequest.Builder,,AmendBenefitApplicationRequest> PartnerCentralBenefitsRequest.Builder,SdkBuilder<AmendBenefitApplicationRequest.Builder,,AmendBenefitApplicationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AmendBenefitApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionamendmentReason(String amendmentReason) A descriptive reason explaining why the benefit application is being amended.amendments(Collection<Amendment> amendments) A list of specific field amendments to apply to the benefit application.amendments(Consumer<Amendment.Builder>... amendments) A list of specific field amendments to apply to the benefit application.amendments(Amendment... amendments) A list of specific field amendments to apply to the benefit application.The catalog identifier that specifies which benefit catalog the application belongs to.clientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotent processing of the amendment request.identifier(String identifier) The unique identifier of the benefit application to be amended.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The current revision number of the benefit application to ensure optimistic concurrency control.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralbenefits.model.PartnerCentralBenefitsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
The catalog identifier that specifies which benefit catalog the application belongs to.
- Parameters:
catalog- The catalog identifier that specifies which benefit catalog the application belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure idempotent processing of the amendment request.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotent processing of the amendment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The current revision number of the benefit application to ensure optimistic concurrency control.
- Parameters:
revision- The current revision number of the benefit application to ensure optimistic concurrency control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The unique identifier of the benefit application to be amended.
- Parameters:
identifier- The unique identifier of the benefit application to be amended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amendmentReason
A descriptive reason explaining why the benefit application is being amended.
- Parameters:
amendmentReason- A descriptive reason explaining why the benefit application is being amended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amendments
A list of specific field amendments to apply to the benefit application.
- Parameters:
amendments- A list of specific field amendments to apply to the benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amendments
A list of specific field amendments to apply to the benefit application.
- Parameters:
amendments- A list of specific field amendments to apply to the benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amendments
A list of specific field amendments to apply to the benefit application.
This is a convenience method that creates an instance of theAmendment.Builderavoiding the need to create one manually viaAmendment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toamendments(List<Amendment>).- Parameters:
amendments- a consumer that will call methods onAmendment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AmendBenefitApplicationRequest.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
AmendBenefitApplicationRequest.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.
-