@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCostEstimationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCostEstimationResult() |
Modifier and Type | Method and Description |
---|---|
GetCostEstimationResult |
clone() |
boolean |
equals(Object obj) |
List<ServiceResourceCost> |
getCosts()
An array of
ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources. |
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
CostEstimationResourceCollectionFilter |
getResourceCollection()
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
|
String |
getStatus()
The status of creating this cost estimate.
|
CostEstimationTimeRange |
getTimeRange()
The start and end time of the cost estimation.
|
Double |
getTotalCost()
The estimated monthly cost to analyze the Amazon Web Services resources.
|
int |
hashCode() |
void |
setCosts(Collection<ServiceResourceCost> costs)
An array of
ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources. |
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setResourceCollection(CostEstimationResourceCollectionFilter resourceCollection)
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
|
void |
setStatus(String status)
The status of creating this cost estimate.
|
void |
setTimeRange(CostEstimationTimeRange timeRange)
The start and end time of the cost estimation.
|
void |
setTotalCost(Double totalCost)
The estimated monthly cost to analyze the Amazon Web Services resources.
|
String |
toString()
Returns a string representation of this object.
|
GetCostEstimationResult |
withCosts(Collection<ServiceResourceCost> costs)
An array of
ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources. |
GetCostEstimationResult |
withCosts(ServiceResourceCost... costs)
An array of
ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources. |
GetCostEstimationResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
GetCostEstimationResult |
withResourceCollection(CostEstimationResourceCollectionFilter resourceCollection)
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
|
GetCostEstimationResult |
withStatus(CostEstimationStatus status)
The status of creating this cost estimate.
|
GetCostEstimationResult |
withStatus(String status)
The status of creating this cost estimate.
|
GetCostEstimationResult |
withTimeRange(CostEstimationTimeRange timeRange)
The start and end time of the cost estimation.
|
GetCostEstimationResult |
withTotalCost(Double totalCost)
The estimated monthly cost to analyze the Amazon Web Services resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceCollection(CostEstimationResourceCollectionFilter resourceCollection)
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
resourceCollection
- The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.public CostEstimationResourceCollectionFilter getResourceCollection()
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
public GetCostEstimationResult withResourceCollection(CostEstimationResourceCollectionFilter resourceCollection)
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
resourceCollection
- The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.public void setStatus(String status)
The status of creating this cost estimate. If it's still in progress, the status ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.
status
- The status of creating this cost estimate. If it's still in progress, the status ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.CostEstimationStatus
public String getStatus()
The status of creating this cost estimate. If it's still in progress, the status ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.
ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.CostEstimationStatus
public GetCostEstimationResult withStatus(String status)
The status of creating this cost estimate. If it's still in progress, the status ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.
status
- The status of creating this cost estimate. If it's still in progress, the status ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.CostEstimationStatus
public GetCostEstimationResult withStatus(CostEstimationStatus status)
The status of creating this cost estimate. If it's still in progress, the status ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.
status
- The status of creating this cost estimate. If it's still in progress, the status ONGOING
is
returned. If it is finished, the status COMPLETED
is returned.CostEstimationStatus
public List<ServiceResourceCost> getCosts()
An array of ResourceCost
objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources.
ResourceCost
objects that each contains details about the monthly cost estimate
to analyze one of your Amazon Web Services resources.public void setCosts(Collection<ServiceResourceCost> costs)
An array of ResourceCost
objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources.
costs
- An array of ResourceCost
objects that each contains details about the monthly cost estimate
to analyze one of your Amazon Web Services resources.public GetCostEstimationResult withCosts(ServiceResourceCost... costs)
An array of ResourceCost
objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources.
NOTE: This method appends the values to the existing list (if any). Use
setCosts(java.util.Collection)
or withCosts(java.util.Collection)
if you want to override the
existing values.
costs
- An array of ResourceCost
objects that each contains details about the monthly cost estimate
to analyze one of your Amazon Web Services resources.public GetCostEstimationResult withCosts(Collection<ServiceResourceCost> costs)
An array of ResourceCost
objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources.
costs
- An array of ResourceCost
objects that each contains details about the monthly cost estimate
to analyze one of your Amazon Web Services resources.public void setTimeRange(CostEstimationTimeRange timeRange)
The start and end time of the cost estimation.
timeRange
- The start and end time of the cost estimation.public CostEstimationTimeRange getTimeRange()
The start and end time of the cost estimation.
public GetCostEstimationResult withTimeRange(CostEstimationTimeRange timeRange)
The start and end time of the cost estimation.
timeRange
- The start and end time of the cost estimation.public void setTotalCost(Double totalCost)
The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated
costs to analyze each resource in the Costs
object in this response.
totalCost
- The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the
estimated costs to analyze each resource in the Costs
object in this response.public Double getTotalCost()
The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated
costs to analyze each resource in the Costs
object in this response.
Costs
object in this response.public GetCostEstimationResult withTotalCost(Double totalCost)
The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated
costs to analyze each resource in the Costs
object in this response.
totalCost
- The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the
estimated costs to analyze each resource in the Costs
object in this response.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public GetCostEstimationResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public GetCostEstimationResult clone()