Interface AwsProductInsights.Builder

  • Method Details

    • currencyCode

      AwsProductInsights.Builder currencyCode(String currencyCode)

      ISO 4217 currency code. Supported values are USD and EUR. Returns EUR when the opportunity is in the aws-eusc (AWS European Sovereign Cloud) partition.

      Parameters:
      currencyCode - ISO 4217 currency code. Supported values are USD and EUR. Returns EUR when the opportunity is in the aws-eusc (AWS European Sovereign Cloud) partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • currencyCode

      AwsProductInsights.Builder currencyCode(CurrencyCode currencyCode)

      ISO 4217 currency code. Supported values are USD and EUR. Returns EUR when the opportunity is in the aws-eusc (AWS European Sovereign Cloud) partition.

      Parameters:
      currencyCode - ISO 4217 currency code. Supported values are USD and EUR. Returns EUR when the opportunity is in the aws-eusc (AWS European Sovereign Cloud) partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • frequency

      AwsProductInsights.Builder frequency(String frequency)

      Time period for spend amounts.

      Parameters:
      frequency - Time period for spend amounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • frequency

      Time period for spend amounts.

      Parameters:
      frequency - Time period for spend amounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalAmount

      AwsProductInsights.Builder totalAmount(String totalAmount)

      Total estimated spend for this source before optimizations.

      Parameters:
      totalAmount - Total estimated spend for this source before optimizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalOptimizedAmount

      AwsProductInsights.Builder totalOptimizedAmount(String totalOptimizedAmount)

      Total estimated spend after applying recommended optimizations.

      Parameters:
      totalOptimizedAmount - Total estimated spend after applying recommended optimizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalPotentialSavingsAmount

      AwsProductInsights.Builder totalPotentialSavingsAmount(String totalPotentialSavingsAmount)

      Quantified savings achievable through implementing optimizations.

      Parameters:
      totalPotentialSavingsAmount - Quantified savings achievable through implementing optimizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalAmountByCategory

      AwsProductInsights.Builder totalAmountByCategory(Map<String,String> totalAmountByCategory)

      Spend amounts mapped to AWS programs and modernization pathways.

      Parameters:
      totalAmountByCategory - Spend amounts mapped to AWS programs and modernization pathways.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsProducts

      Product-level details including costs and optimization recommendations.

      Parameters:
      awsProducts - Product-level details including costs and optimization recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsProducts

      AwsProductInsights.Builder awsProducts(AwsProductDetails... awsProducts)

      Product-level details including costs and optimization recommendations.

      Parameters:
      awsProducts - Product-level details including costs and optimization recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsProducts

      Product-level details including costs and optimization recommendations.

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

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

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