Interface AwsProductDetails.Builder

  • Method Details

    • productCode

      AwsProductDetails.Builder productCode(String productCode)

      AWS Partner Central product identifier used for opportunity association.

      Parameters:
      productCode - AWS Partner Central product identifier used for opportunity association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceCode

      AwsProductDetails.Builder serviceCode(String serviceCode)

      Pricing Calculator service code.

      Parameters:
      serviceCode - Pricing Calculator service code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      AwsProductDetails.Builder categories(Collection<String> categories)

      List of program and pathway categories this product is eligible for.

      Parameters:
      categories - List of program and pathway categories this product is eligible for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • categories

      AwsProductDetails.Builder categories(String... categories)

      List of program and pathway categories this product is eligible for.

      Parameters:
      categories - List of program and pathway categories this product is eligible for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amount

      Baseline service cost before optimizations.

      Parameters:
      amount - Baseline service cost before optimizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optimizedAmount

      AwsProductDetails.Builder optimizedAmount(String optimizedAmount)

      Service cost after applying optimizations.

      Parameters:
      optimizedAmount - Service cost after applying optimizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • potentialSavingsAmount

      AwsProductDetails.Builder potentialSavingsAmount(String potentialSavingsAmount)

      Service-specific cost reduction through optimizations.

      Parameters:
      potentialSavingsAmount - Service-specific cost reduction through optimizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optimizations

      List of specific optimization recommendations for this product.

      Parameters:
      optimizations - List of specific optimization recommendations for this product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optimizations

      AwsProductDetails.Builder optimizations(AwsProductOptimization... optimizations)

      List of specific optimization recommendations for this product.

      Parameters:
      optimizations - List of specific optimization recommendations for this product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optimizations

      List of specific optimization recommendations for this product.

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

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

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