Interface PrivatePricingAddendum.Builder

  • Method Details

    • contractArn

      PrivatePricingAddendum.Builder contractArn(String 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

      PrivatePricingAddendum.Builder 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.

      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

      default PrivatePricingAddendum.Builder contractTerm(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.

      This is a convenience method that creates an instance of the Interval.Builder avoiding the need to create one manually via Interval.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to contractTerm(Interval).

      Parameters:
      contractTerm - a consumer that will call methods on Interval.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eligiblePayerAccounts

      PrivatePricingAddendum.Builder eligiblePayerAccounts(Collection<String> 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

      PrivatePricingAddendum.Builder eligiblePayerAccounts(String... 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

      PrivatePricingAddendum.Builder investmentAccounts(Collection<String> investmentAccounts)

      The accounts that are eligible to receive investments under the private pricing addendum. An InvestmentDistribution must 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. An InvestmentDistribution must 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

      PrivatePricingAddendum.Builder investmentAccounts(String... investmentAccounts)

      The accounts that are eligible to receive investments under the private pricing addendum. An InvestmentDistribution must 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. An InvestmentDistribution must 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

      PrivatePricingAddendum.Builder legalEntities(Collection<LegalEntity> 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

      PrivatePricingAddendum.Builder legalEntities(LegalEntity... 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 the LegalEntity.Builder avoiding the need to create one manually via LegalEntity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to legalEntities(List<LegalEntity>).

      Parameters:
      legalEntities - a consumer that will call methods on LegalEntity.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

      PrivatePricingAddendum.Builder contractRestrictionsWithStrings(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.
    • 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

      PrivatePricingAddendum.Builder contractRestrictions(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.