Interface UpdateBenefitApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBenefitApplicationRequest.Builder,,UpdateBenefitApplicationRequest> PartnerCentralBenefitsRequest.Builder,SdkBuilder<UpdateBenefitApplicationRequest.Builder,,UpdateBenefitApplicationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBenefitApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionbenefitApplicationDetails(Document benefitApplicationDetails) Updated detailed information and requirements specific to the benefit being requested.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 update request.description(String description) The updated detailed description of the benefit application.fileDetails(Collection<FileInput> fileDetails) Updated supporting documents and files attached to the benefit application.fileDetails(Consumer<FileInput.Builder>... fileDetails) Updated supporting documents and files attached to the benefit application.fileDetails(FileInput... fileDetails) Updated supporting documents and files attached to the benefit application.identifier(String identifier) The unique identifier of the benefit application to update.The updated human-readable name for the benefit application.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partnerContacts(Collection<Contact> partnerContacts) Updated contact information for partner representatives responsible for this benefit application.partnerContacts(Consumer<Contact.Builder>... partnerContacts) Updated contact information for partner representatives responsible for this benefit application.partnerContacts(Contact... partnerContacts) Updated contact information for partner representatives responsible for this benefit application.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 update request.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotent processing of the update request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated human-readable name for the benefit application.
- Parameters:
name- The updated human-readable name for the benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated detailed description of the benefit application.
- Parameters:
description- The updated detailed description of the benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The unique identifier of the benefit application to update.
- Parameters:
identifier- The unique identifier of the benefit application to update.- 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.
-
benefitApplicationDetails
UpdateBenefitApplicationRequest.Builder benefitApplicationDetails(Document benefitApplicationDetails) Updated detailed information and requirements specific to the benefit being requested.
- Parameters:
benefitApplicationDetails- Updated detailed information and requirements specific to the benefit being requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerContacts
Updated contact information for partner representatives responsible for this benefit application.
- Parameters:
partnerContacts- Updated contact information for partner representatives responsible for this benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerContacts
Updated contact information for partner representatives responsible for this benefit application.
- Parameters:
partnerContacts- Updated contact information for partner representatives responsible for this benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerContacts
UpdateBenefitApplicationRequest.Builder partnerContacts(Consumer<Contact.Builder>... partnerContacts) Updated contact information for partner representatives responsible for this benefit application.
This is a convenience method that creates an instance of theContact.Builderavoiding the need to create one manually viaContact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartnerContacts(List<Contact>).- Parameters:
partnerContacts- a consumer that will call methods onContact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileDetails
Updated supporting documents and files attached to the benefit application.
- Parameters:
fileDetails- Updated supporting documents and files attached to the benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileDetails
Updated supporting documents and files attached to the benefit application.
- Parameters:
fileDetails- Updated supporting documents and files attached to the benefit application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileDetails
Updated supporting documents and files attached to the benefit application.
This is a convenience method that creates an instance of theFileInput.Builderavoiding the need to create one manually viaFileInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileDetails(List<FileInput>).- Parameters:
fileDetails- a consumer that will call methods onFileInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateBenefitApplicationRequest.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
UpdateBenefitApplicationRequest.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.
-