Interface CreateAgreementRequestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAgreementRequestRequest.Builder,,CreateAgreementRequestRequest> MarketplaceAgreementRequest.Builder,SdkBuilder<CreateAgreementRequestRequest.Builder,,CreateAgreementRequestRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAgreementRequestRequest
-
Method Summary
Modifier and TypeMethodDescriptionagreementProposalIdentifier(String agreementProposalIdentifier) The agreement proposal signed by the proposer.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The purpose and desired outcome of the agreement request.The purpose and desired outcome of the agreement request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestedTerms(Collection<RequestedTerm> requestedTerms) A list of terms that define what is being accepted as part of the agreement.requestedTerms(Consumer<RequestedTerm.Builder>... requestedTerms) A list of terms that define what is being accepted as part of the agreement.requestedTerms(RequestedTerm... requestedTerms) A list of terms that define what is being accepted as part of the agreement.sourceAgreementIdentifier(String sourceAgreementIdentifier) The agreement's identifier that the request acts upon.taxConfiguration(Consumer<TaxConfiguration.Builder> taxConfiguration) Configuration for tax estimation in the agreement request response.taxConfiguration(TaxConfiguration taxConfiguration) Configuration for tax estimation in the agreement request response.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.marketplaceagreement.model.MarketplaceAgreementRequest.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
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intent
The purpose and desired outcome of the agreement request. This is a required parameter that determines how the agreement request is processed.
-
NEW– Creates a new agreement for terms in the request. -
AMEND– Modifies an existing agreement with terms that are accepted in the request. -
REPLACE– Creates a new agreement with accepted terms and replaces the existing agreement.
- Parameters:
intent- The purpose and desired outcome of the agreement request. This is a required parameter that determines how the agreement request is processed.-
NEW– Creates a new agreement for terms in the request. -
AMEND– Modifies an existing agreement with terms that are accepted in the request. -
REPLACE– Creates a new agreement with accepted terms and replaces the existing agreement.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
intent
The purpose and desired outcome of the agreement request. This is a required parameter that determines how the agreement request is processed.
-
NEW– Creates a new agreement for terms in the request. -
AMEND– Modifies an existing agreement with terms that are accepted in the request. -
REPLACE– Creates a new agreement with accepted terms and replaces the existing agreement.
- Parameters:
intent- The purpose and desired outcome of the agreement request. This is a required parameter that determines how the agreement request is processed.-
NEW– Creates a new agreement for terms in the request. -
AMEND– Modifies an existing agreement with terms that are accepted in the request. -
REPLACE– Creates a new agreement with accepted terms and replaces the existing agreement.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
requestedTerms
A list of terms that define what is being accepted as part of the agreement. Some terms require configuration.
- Parameters:
requestedTerms- A list of terms that define what is being accepted as part of the agreement. Some terms require configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedTerms
A list of terms that define what is being accepted as part of the agreement. Some terms require configuration.
- Parameters:
requestedTerms- A list of terms that define what is being accepted as part of the agreement. Some terms require configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedTerms
CreateAgreementRequestRequest.Builder requestedTerms(Consumer<RequestedTerm.Builder>... requestedTerms) A list of terms that define what is being accepted as part of the agreement. Some terms require configuration.
This is a convenience method that creates an instance of theRequestedTerm.Builderavoiding the need to create one manually viaRequestedTerm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestedTerms(List<RequestedTerm>).- Parameters:
requestedTerms- a consumer that will call methods onRequestedTerm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceAgreementIdentifier
The agreement's identifier that the request acts upon.
This parameter is required for all non-
NEWintents (i.e.,AMENDorREPLACE). Don't provide this parameter if the intent isNEW.- Parameters:
sourceAgreementIdentifier- The agreement's identifier that the request acts upon.This parameter is required for all non-
NEWintents (i.e.,AMENDorREPLACE). Don't provide this parameter if the intent isNEW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementProposalIdentifier
CreateAgreementRequestRequest.Builder agreementProposalIdentifier(String agreementProposalIdentifier) The agreement proposal signed by the proposer. The proposal includes the requested resources and the terms that outline an agreement outcome.
This parameter is required if the intent is not
AMEND.- Parameters:
agreementProposalIdentifier- The agreement proposal signed by the proposer. The proposal includes the requested resources and the terms that outline an agreement outcome.This parameter is required if the intent is not
AMEND.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxConfiguration
Configuration for tax estimation in the agreement request response.
- Parameters:
taxConfiguration- Configuration for tax estimation in the agreement request response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxConfiguration
default CreateAgreementRequestRequest.Builder taxConfiguration(Consumer<TaxConfiguration.Builder> taxConfiguration) Configuration for tax estimation in the agreement request response.
This is a convenience method that creates an instance of theTaxConfiguration.Builderavoiding the need to create one manually viaTaxConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxConfiguration(TaxConfiguration).- Parameters:
taxConfiguration- a consumer that will call methods onTaxConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAgreementRequestRequest.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
CreateAgreementRequestRequest.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.
-