Interface CreateWorkloadEstimateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<CreateWorkloadEstimateResponse.Builder,CreateWorkloadEstimateResponse>,SdkBuilder<CreateWorkloadEstimateResponse.Builder,CreateWorkloadEstimateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateWorkloadEstimateResponse
public static interface CreateWorkloadEstimateResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkloadEstimateResponse.Builder,CreateWorkloadEstimateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkloadEstimateResponse.BuildercostCurrency(String costCurrency)The currency of the estimated cost.CreateWorkloadEstimateResponse.BuildercostCurrency(CurrencyCode costCurrency)The currency of the estimated cost.CreateWorkloadEstimateResponse.BuildercreatedAt(Instant createdAt)The timestamp when the workload estimate was created.CreateWorkloadEstimateResponse.BuilderexpiresAt(Instant expiresAt)The timestamp when the workload estimate will expire.CreateWorkloadEstimateResponse.BuilderfailureMessage(String failureMessage)An error message if the workload estimate creation failed.CreateWorkloadEstimateResponse.Builderid(String id)The unique identifier for the created workload estimate.CreateWorkloadEstimateResponse.Buildername(String name)The name of the created workload estimate.CreateWorkloadEstimateResponse.BuilderrateTimestamp(Instant rateTimestamp)The timestamp of the pricing rates used for the estimate.CreateWorkloadEstimateResponse.BuilderrateType(String rateType)The type of pricing rates used for the estimate.CreateWorkloadEstimateResponse.BuilderrateType(WorkloadEstimateRateType rateType)The type of pricing rates used for the estimate.CreateWorkloadEstimateResponse.Builderstatus(String status)The current status of the workload estimate.CreateWorkloadEstimateResponse.Builderstatus(WorkloadEstimateStatus status)The current status of the workload estimate.CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.Builder id(String id)
The unique identifier for the created workload estimate.
- Parameters:
id- The unique identifier for the created workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateWorkloadEstimateResponse.Builder name(String name)
The name of the created workload estimate.
- Parameters:
name- The name of the created workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.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
CreateWorkloadEstimateResponse.Builder failureMessage(String failureMessage)
An error message if the workload estimate creation failed.
- Parameters:
failureMessage- An error message if the workload estimate creation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-