@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceBudgetEstimate extends Object implements Serializable, Cloneable, StructuredPojo
Describes the estimated cost or usage that a budget tracks.
Constructor and Description |
---|
ResourceBudgetEstimate() |
Modifier and Type | Method and Description |
---|---|
ResourceBudgetEstimate |
clone() |
boolean |
equals(Object obj) |
List<CostEstimate> |
getCostEstimates()
The cost estimate for the specified budget.
|
Date |
getEndTime()
The estimate end time.
|
String |
getResourceName()
The resource name.
|
String |
getResourceType()
The type of resource the budget will track.
|
Date |
getStartTime()
The estimate start time.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCostEstimates(Collection<CostEstimate> costEstimates)
The cost estimate for the specified budget.
|
void |
setEndTime(Date endTime)
The estimate end time.
|
void |
setResourceName(String resourceName)
The resource name.
|
void |
setResourceType(String resourceType)
The type of resource the budget will track.
|
void |
setStartTime(Date startTime)
The estimate start time.
|
String |
toString()
Returns a string representation of this object.
|
ResourceBudgetEstimate |
withCostEstimates(Collection<CostEstimate> costEstimates)
The cost estimate for the specified budget.
|
ResourceBudgetEstimate |
withCostEstimates(CostEstimate... costEstimates)
The cost estimate for the specified budget.
|
ResourceBudgetEstimate |
withEndTime(Date endTime)
The estimate end time.
|
ResourceBudgetEstimate |
withResourceName(String resourceName)
The resource name.
|
ResourceBudgetEstimate |
withResourceType(ResourceType resourceType)
The type of resource the budget will track.
|
ResourceBudgetEstimate |
withResourceType(String resourceType)
The type of resource the budget will track.
|
ResourceBudgetEstimate |
withStartTime(Date startTime)
The estimate start time.
|
public void setResourceName(String resourceName)
The resource name.
resourceName
- The resource name.public String getResourceName()
The resource name.
public ResourceBudgetEstimate withResourceName(String resourceName)
The resource name.
resourceName
- The resource name.public void setResourceType(String resourceType)
The type of resource the budget will track.
resourceType
- The type of resource the budget will track.ResourceType
public String getResourceType()
The type of resource the budget will track.
ResourceType
public ResourceBudgetEstimate withResourceType(String resourceType)
The type of resource the budget will track.
resourceType
- The type of resource the budget will track.ResourceType
public ResourceBudgetEstimate withResourceType(ResourceType resourceType)
The type of resource the budget will track.
resourceType
- The type of resource the budget will track.ResourceType
public List<CostEstimate> getCostEstimates()
The cost estimate for the specified budget.
public void setCostEstimates(Collection<CostEstimate> costEstimates)
The cost estimate for the specified budget.
costEstimates
- The cost estimate for the specified budget.public ResourceBudgetEstimate withCostEstimates(CostEstimate... costEstimates)
The cost estimate for the specified budget.
NOTE: This method appends the values to the existing list (if any). Use
setCostEstimates(java.util.Collection)
or withCostEstimates(java.util.Collection)
if you want
to override the existing values.
costEstimates
- The cost estimate for the specified budget.public ResourceBudgetEstimate withCostEstimates(Collection<CostEstimate> costEstimates)
The cost estimate for the specified budget.
costEstimates
- The cost estimate for the specified budget.public void setStartTime(Date startTime)
The estimate start time.
startTime
- The estimate start time.public Date getStartTime()
The estimate start time.
public ResourceBudgetEstimate withStartTime(Date startTime)
The estimate start time.
startTime
- The estimate start time.public void setEndTime(Date endTime)
The estimate end time.
endTime
- The estimate end time.public Date getEndTime()
The estimate end time.
public ResourceBudgetEstimate withEndTime(Date endTime)
The estimate end time.
endTime
- The estimate end time.public String toString()
toString
in class Object
Object.toString()
public ResourceBudgetEstimate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.