Interface AwsProductDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsProductDetails.Builder,,AwsProductDetails> SdkBuilder<AwsProductDetails.Builder,,AwsProductDetails> SdkPojo
- Enclosing class:
AwsProductDetails
-
Method Summary
Modifier and TypeMethodDescriptionBaseline service cost before optimizations (may be null for AWS-sourced predictions)categories(String... categories) List of program and pathway categories this product is eligible forcategories(Collection<String> categories) List of program and pathway categories this product is eligible foroptimizations(Collection<AwsProductOptimization> optimizations) List of specific optimization recommendations for this productoptimizations(Consumer<AwsProductOptimization.Builder>... optimizations) List of specific optimization recommendations for this productoptimizations(AwsProductOptimization... optimizations) List of specific optimization recommendations for this productoptimizedAmount(String optimizedAmount) Service cost after applying optimizations (may be null for AWS-sourced predictions)potentialSavingsAmount(String potentialSavingsAmount) Service-specific cost reduction through optimizations (may be null for AWS-sourced predictions)productCode(String productCode) AWS Partner Central product identifier used for opportunity associationserviceCode(String serviceCode) Pricing Calculator service code (links to original calculator URL)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
-
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
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
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
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
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
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
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 theAwsProductOptimization.Builderavoiding the need to create one manually viaAwsProductOptimization.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptimizations(List<AwsProductOptimization>).- Parameters:
optimizations- a consumer that will call methods onAwsProductOptimization.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-