Interface WorkloadEstimateSummary.Builder

    • Method Detail

      • id

        WorkloadEstimateSummary.Builder id​(String id)

        The unique identifier of the workload estimate.

        Parameters:
        id - The unique identifier of the workload estimate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        WorkloadEstimateSummary.Builder name​(String name)

        The name of the workload estimate.

        Parameters:
        name - The name of the workload estimate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        WorkloadEstimateSummary.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

        WorkloadEstimateSummary.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.
      • rateTimestamp

        WorkloadEstimateSummary.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.
      • totalCost

        WorkloadEstimateSummary.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

        WorkloadEstimateSummary.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
      • failureMessage

        WorkloadEstimateSummary.Builder failureMessage​(String failureMessage)

        An error message if the workload estimate creation or processing failed.

        Parameters:
        failureMessage - An error message if the workload estimate creation or processing failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.