@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCostCategoriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetCostCategoriesRequest() |
Modifier and Type | Method and Description |
---|---|
GetCostCategoriesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCostCategoryName() |
Expression |
getFilter() |
Integer |
getMaxResults()
This field is only used when
SortBy is provided in the request. |
String |
getNextPageToken()
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken
value in the response.
|
String |
getSearchString()
The value that you want to search the filter values for.
|
List<SortDefinition> |
getSortBy()
The value by which you want to sort the data.
|
DateInterval |
getTimePeriod() |
int |
hashCode() |
void |
setCostCategoryName(String costCategoryName) |
void |
setFilter(Expression filter) |
void |
setMaxResults(Integer maxResults)
This field is only used when
SortBy is provided in the request. |
void |
setNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken
value in the response.
|
void |
setSearchString(String searchString)
The value that you want to search the filter values for.
|
void |
setSortBy(Collection<SortDefinition> sortBy)
The value by which you want to sort the data.
|
void |
setTimePeriod(DateInterval timePeriod) |
String |
toString()
Returns a string representation of this object.
|
GetCostCategoriesRequest |
withCostCategoryName(String costCategoryName) |
GetCostCategoriesRequest |
withFilter(Expression filter) |
GetCostCategoriesRequest |
withMaxResults(Integer maxResults)
This field is only used when
SortBy is provided in the request. |
GetCostCategoriesRequest |
withNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken
value in the response.
|
GetCostCategoriesRequest |
withSearchString(String searchString)
The value that you want to search the filter values for.
|
GetCostCategoriesRequest |
withSortBy(Collection<SortDefinition> sortBy)
The value by which you want to sort the data.
|
GetCostCategoriesRequest |
withSortBy(SortDefinition... sortBy)
The value by which you want to sort the data.
|
GetCostCategoriesRequest |
withTimePeriod(DateInterval timePeriod) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSearchString(String searchString)
The value that you want to search the filter values for.
If you do not specify a CostCategoryName
, SearchString
will be used to filter Cost
Category names that match the SearchString
pattern. If you do specifiy a
CostCategoryName
, SearchString
will be used to filter Cost Category values that match
the SearchString
pattern.
searchString
- The value that you want to search the filter values for.
If you do not specify a CostCategoryName
, SearchString
will be used to filter
Cost Category names that match the SearchString
pattern. If you do specifiy a
CostCategoryName
, SearchString
will be used to filter Cost Category values that
match the SearchString
pattern.
public String getSearchString()
The value that you want to search the filter values for.
If you do not specify a CostCategoryName
, SearchString
will be used to filter Cost
Category names that match the SearchString
pattern. If you do specifiy a
CostCategoryName
, SearchString
will be used to filter Cost Category values that match
the SearchString
pattern.
If you do not specify a CostCategoryName
, SearchString
will be used to filter
Cost Category names that match the SearchString
pattern. If you do specifiy a
CostCategoryName
, SearchString
will be used to filter Cost Category values that
match the SearchString
pattern.
public GetCostCategoriesRequest withSearchString(String searchString)
The value that you want to search the filter values for.
If you do not specify a CostCategoryName
, SearchString
will be used to filter Cost
Category names that match the SearchString
pattern. If you do specifiy a
CostCategoryName
, SearchString
will be used to filter Cost Category values that match
the SearchString
pattern.
searchString
- The value that you want to search the filter values for.
If you do not specify a CostCategoryName
, SearchString
will be used to filter
Cost Category names that match the SearchString
pattern. If you do specifiy a
CostCategoryName
, SearchString
will be used to filter Cost Category values that
match the SearchString
pattern.
public void setTimePeriod(DateInterval timePeriod)
timePeriod
- public DateInterval getTimePeriod()
public GetCostCategoriesRequest withTimePeriod(DateInterval timePeriod)
timePeriod
- public void setCostCategoryName(String costCategoryName)
costCategoryName
- public String getCostCategoryName()
public GetCostCategoriesRequest withCostCategoryName(String costCategoryName)
costCategoryName
- public void setFilter(Expression filter)
filter
- public Expression getFilter()
public GetCostCategoriesRequest withFilter(Expression filter)
filter
- public List<SortDefinition> getSortBy()
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not supported.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not
supported.
public void setSortBy(Collection<SortDefinition> sortBy)
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not supported.
sortBy
- The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not
supported.
public GetCostCategoriesRequest withSortBy(SortDefinition... sortBy)
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not supported.
NOTE: This method appends the values to the existing list (if any). Use
setSortBy(java.util.Collection)
or withSortBy(java.util.Collection)
if you want to override the
existing values.
sortBy
- The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not
supported.
public GetCostCategoriesRequest withSortBy(Collection<SortDefinition> sortBy)
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not supported.
sortBy
- The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder
are ASCENDING
or DESCENDING
.
When using SortBy
, NextPageToken
and SearchString
are not
supported.
public void setMaxResults(Integer maxResults)
This field is only used when SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults
is not specified
with SortBy
, the request will return 1000 results as the default value for this parameter.
maxResults
- This field is only used when SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults
is not
specified with SortBy
, the request will return 1000 results as the default value for this
parameter.
public Integer getMaxResults()
This field is only used when SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults
is not specified
with SortBy
, the request will return 1000 results as the default value for this parameter.
SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults
is not
specified with SortBy
, the request will return 1000 results as the default value for this
parameter.
public GetCostCategoriesRequest withMaxResults(Integer maxResults)
This field is only used when SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults
is not specified
with SortBy
, the request will return 1000 results as the default value for this parameter.
maxResults
- This field is only used when SortBy
is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults
is not
specified with SortBy
, the request will return 1000 results as the default value for this
parameter.
public void setNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request.
nextPageToken
- If the number of objects that are still available for retrieval exceeds the limit, AWS returns a
NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from
the prior call in your next request.public String getNextPageToken()
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request.
public GetCostCategoriesRequest withNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request.
nextPageToken
- If the number of objects that are still available for retrieval exceeds the limit, AWS returns a
NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from
the prior call in your next request.public String toString()
toString
in class Object
Object.toString()
public GetCostCategoriesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()