Interface GetWorkloadEstimateResponse.Builder

  • Method Details

    • 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

      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

      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

      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

      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:
    • 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:
    • 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

      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:
    • 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:
    • 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:
    • 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:
    • 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.