Interface PrivatePricingAddendum.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivatePricingAddendum.Builder,,PrivatePricingAddendum> SdkBuilder<PrivatePricingAddendum.Builder,,PrivatePricingAddendum> SdkPojo
- Enclosing class:
PrivatePricingAddendum
-
Method Summary
Modifier and TypeMethodDescriptioncontractArn(String contractArn) The Amazon Resource Name (ARN) of the private pricing addendum.contractRestrictions(Collection<ContractRestriction> contractRestrictions) The restrictions that limit the self-service actions you can take on the private pricing addendum.contractRestrictions(ContractRestriction... contractRestrictions) The restrictions that limit the self-service actions you can take on the private pricing addendum.contractRestrictionsWithStrings(String... contractRestrictions) The restrictions that limit the self-service actions you can take on the private pricing addendum.contractRestrictionsWithStrings(Collection<String> contractRestrictions) The restrictions that limit the self-service actions you can take on the private pricing addendum.default PrivatePricingAddendum.BuildercontractTerm(Consumer<Interval.Builder> contractTerm) The contract term period of the private pricing addendum, expressed as an interval with an inclusive start date and an inclusive end date.contractTerm(Interval contractTerm) The contract term period of the private pricing addendum, expressed as an interval with an inclusive start date and an inclusive end date.eligiblePayerAccounts(String... eligiblePayerAccounts) The payer accounts that are eligible under the private pricing addendum.eligiblePayerAccounts(Collection<String> eligiblePayerAccounts) The payer accounts that are eligible under the private pricing addendum.investmentAccounts(String... investmentAccounts) The accounts that are eligible to receive investments under the private pricing addendum.investmentAccounts(Collection<String> investmentAccounts) The accounts that are eligible to receive investments under the private pricing addendum.legalEntities(Collection<LegalEntity> legalEntities) The legal entities on the private pricing addendum.legalEntities(Consumer<LegalEntity.Builder>... legalEntities) The legal entities on the private pricing addendum.legalEntities(LegalEntity... legalEntities) The legal entities on the private pricing addendum.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
-
contractArn
The Amazon Resource Name (ARN) of the private pricing addendum.
- Parameters:
contractArn- The Amazon Resource Name (ARN) of the private pricing addendum.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractTerm
The contract term period of the private pricing addendum, expressed as an interval with an inclusive start date and an inclusive end date.
- Parameters:
contractTerm- The contract term period of the private pricing addendum, expressed as an interval with an inclusive start date and an inclusive end date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractTerm
The contract term period of the private pricing addendum, expressed as an interval with an inclusive start date and an inclusive end date.
This is a convenience method that creates an instance of theInterval.Builderavoiding the need to create one manually viaInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontractTerm(Interval).- Parameters:
contractTerm- a consumer that will call methods onInterval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eligiblePayerAccounts
The payer accounts that are eligible under the private pricing addendum. The list contains at most 100 account IDs.
- Parameters:
eligiblePayerAccounts- The payer accounts that are eligible under the private pricing addendum. The list contains at most 100 account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eligiblePayerAccounts
The payer accounts that are eligible under the private pricing addendum. The list contains at most 100 account IDs.
- Parameters:
eligiblePayerAccounts- The payer accounts that are eligible under the private pricing addendum. The list contains at most 100 account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentAccounts
The accounts that are eligible to receive investments under the private pricing addendum. An
InvestmentDistributionmust target one of these accounts. The list contains at most 100 account IDs.- Parameters:
investmentAccounts- The accounts that are eligible to receive investments under the private pricing addendum. AnInvestmentDistributionmust target one of these accounts. The list contains at most 100 account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investmentAccounts
The accounts that are eligible to receive investments under the private pricing addendum. An
InvestmentDistributionmust target one of these accounts. The list contains at most 100 account IDs.- Parameters:
investmentAccounts- The accounts that are eligible to receive investments under the private pricing addendum. AnInvestmentDistributionmust target one of these accounts. The list contains at most 100 account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalEntities
The legal entities on the private pricing addendum. The list contains at most 10 legal entities.
- Parameters:
legalEntities- The legal entities on the private pricing addendum. The list contains at most 10 legal entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalEntities
The legal entities on the private pricing addendum. The list contains at most 10 legal entities.
- Parameters:
legalEntities- The legal entities on the private pricing addendum. The list contains at most 10 legal entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legalEntities
The legal entities on the private pricing addendum. The list contains at most 10 legal entities.
This is a convenience method that creates an instance of theLegalEntity.Builderavoiding the need to create one manually viaLegalEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolegalEntities(List<LegalEntity>).- Parameters:
legalEntities- a consumer that will call methods onLegalEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contractRestrictionsWithStrings
PrivatePricingAddendum.Builder contractRestrictionsWithStrings(Collection<String> contractRestrictions) The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.
- Parameters:
contractRestrictions- The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractRestrictionsWithStrings
The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.
- Parameters:
contractRestrictions- The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractRestrictions
PrivatePricingAddendum.Builder contractRestrictions(Collection<ContractRestriction> contractRestrictions) The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.
- Parameters:
contractRestrictions- The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractRestrictions
The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.
- Parameters:
contractRestrictions- The restrictions that limit the self-service actions you can take on the private pricing addendum. An empty or absent value indicates that no restrictions apply. The list contains at most 10 restrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-