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 (links to original calculator URL)

      Parameters:
      serviceCode - Pricing Calculator service code (links to original calculator URL)
      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 (may be null for AWS-sourced predictions)

      Parameters:
      amount - Baseline service cost before optimizations (may be null for AWS-sourced predictions)
      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 (may be null for AWS-sourced predictions)

      Parameters:
      optimizedAmount - Service cost after applying optimizations (may be null for AWS-sourced predictions)
      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 (may be null for AWS-sourced predictions)

      Parameters:
      potentialSavingsAmount - Service-specific cost reduction through optimizations (may be null for AWS-sourced predictions)
      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: