Interface GetWorkloadEstimateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<GetWorkloadEstimateResponse.Builder,GetWorkloadEstimateResponse>,SdkBuilder<GetWorkloadEstimateResponse.Builder,GetWorkloadEstimateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetWorkloadEstimateResponse
public static interface GetWorkloadEstimateResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<GetWorkloadEstimateResponse.Builder,GetWorkloadEstimateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetWorkloadEstimateResponse.BuildercostCurrency(String costCurrency)The currency of the estimated cost.GetWorkloadEstimateResponse.BuildercostCurrency(CurrencyCode costCurrency)The currency of the estimated cost.GetWorkloadEstimateResponse.BuildercreatedAt(Instant createdAt)The timestamp when the workload estimate was created.GetWorkloadEstimateResponse.BuilderexpiresAt(Instant expiresAt)The timestamp when the workload estimate will expire.GetWorkloadEstimateResponse.BuilderfailureMessage(String failureMessage)An error message if the workload estimate retrieval failed.GetWorkloadEstimateResponse.Builderid(String id)The unique identifier of the retrieved workload estimate.GetWorkloadEstimateResponse.Buildername(String name)The name of the retrieved workload estimate.GetWorkloadEstimateResponse.BuilderrateTimestamp(Instant rateTimestamp)The timestamp of the pricing rates used for the estimate.GetWorkloadEstimateResponse.BuilderrateType(String rateType)The type of pricing rates used for the estimate.GetWorkloadEstimateResponse.BuilderrateType(WorkloadEstimateRateType rateType)The type of pricing rates used for the estimate.GetWorkloadEstimateResponse.Builderstatus(String status)The current status of the workload estimate.GetWorkloadEstimateResponse.Builderstatus(WorkloadEstimateStatus status)The current status of the workload estimate.GetWorkloadEstimateResponse.BuildertotalCost(Double totalCost)The total estimated cost for the workload.-
Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
id
GetWorkloadEstimateResponse.Builder id(String id)
The unique identifier of the retrieved workload estimate.
- Parameters:
id- The unique identifier of the retrieved workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetWorkloadEstimateResponse.Builder name(String name)
The name of the retrieved workload estimate.
- Parameters:
name- The name of the retrieved workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
GetWorkloadEstimateResponse.Builder createdAt(Instant createdAt)
The timestamp when the workload estimate was created.
- Parameters:
createdAt- The timestamp when the workload estimate was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
GetWorkloadEstimateResponse.Builder expiresAt(Instant expiresAt)
The timestamp when the workload estimate will expire.
- Parameters:
expiresAt- The timestamp when the workload estimate will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateType
GetWorkloadEstimateResponse.Builder rateType(String rateType)
The type of pricing rates used for the estimate.
- Parameters:
rateType- The type of pricing rates used for the estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateRateType,WorkloadEstimateRateType
-
rateType
GetWorkloadEstimateResponse.Builder rateType(WorkloadEstimateRateType rateType)
The type of pricing rates used for the estimate.
- Parameters:
rateType- The type of pricing rates used for the estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateRateType,WorkloadEstimateRateType
-
rateTimestamp
GetWorkloadEstimateResponse.Builder rateTimestamp(Instant rateTimestamp)
The timestamp of the pricing rates used for the estimate.
- Parameters:
rateTimestamp- The timestamp of the pricing rates used for the estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetWorkloadEstimateResponse.Builder status(String status)
The current status of the workload estimate.
- Parameters:
status- The current status of the workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateStatus,WorkloadEstimateStatus
-
status
GetWorkloadEstimateResponse.Builder status(WorkloadEstimateStatus status)
The current status of the workload estimate.
- Parameters:
status- The current status of the workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkloadEstimateStatus,WorkloadEstimateStatus
-
totalCost
GetWorkloadEstimateResponse.Builder totalCost(Double totalCost)
The total estimated cost for the workload.
- Parameters:
totalCost- The total estimated cost for the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCurrency
GetWorkloadEstimateResponse.Builder costCurrency(String costCurrency)
The currency of the estimated cost.
- Parameters:
costCurrency- The currency of the estimated cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
costCurrency
GetWorkloadEstimateResponse.Builder costCurrency(CurrencyCode costCurrency)
The currency of the estimated cost.
- Parameters:
costCurrency- The currency of the estimated cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
failureMessage
GetWorkloadEstimateResponse.Builder failureMessage(String failureMessage)
An error message if the workload estimate retrieval failed.
- Parameters:
failureMessage- An error message if the workload estimate retrieval failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-