Interface GetWorkloadEstimateResponse.Builder

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