@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetTagsRequest() |
Modifier and Type | Method and Description |
---|---|
GetTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Expression |
getFilter() |
Integer |
getMaxResults()
This field is only used when SortBy is provided in the request.
|
String |
getNextPageToken()
The token to retrieve the next set of results.
|
String |
getSearchString()
The value that you want to search for.
|
List<SortDefinition> |
getSortBy()
The value that you want to sort the data by.
|
String |
getTagKey()
The key of the tag that you want to return values for.
|
DateInterval |
getTimePeriod()
The start and end dates for retrieving the dimension values.
|
int |
hashCode() |
void |
setFilter(Expression filter) |
void |
setMaxResults(Integer maxResults)
This field is only used when SortBy is provided in the request.
|
void |
setNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
void |
setSearchString(String searchString)
The value that you want to search for.
|
void |
setSortBy(Collection<SortDefinition> sortBy)
The value that you want to sort the data by.
|
void |
setTagKey(String tagKey)
The key of the tag that you want to return values for.
|
void |
setTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values.
|
String |
toString()
Returns a string representation of this object.
|
GetTagsRequest |
withFilter(Expression filter) |
GetTagsRequest |
withMaxResults(Integer maxResults)
This field is only used when SortBy is provided in the request.
|
GetTagsRequest |
withNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
GetTagsRequest |
withSearchString(String searchString)
The value that you want to search for.
|
GetTagsRequest |
withSortBy(Collection<SortDefinition> sortBy)
The value that you want to sort the data by.
|
GetTagsRequest |
withSortBy(SortDefinition... sortBy)
The value that you want to sort the data by.
|
GetTagsRequest |
withTagKey(String tagKey)
The key of the tag that you want to return values for.
|
GetTagsRequest |
withTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values.
|
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 for.
searchString
- The value that you want to search for.public String getSearchString()
The value that you want to search for.
public GetTagsRequest withSearchString(String searchString)
The value that you want to search for.
searchString
- The value that you want to search for.public void setTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is
exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.
timePeriod
- The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date
is exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.public DateInterval getTimePeriod()
The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is
exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.
start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.public GetTagsRequest withTimePeriod(DateInterval timePeriod)
The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is
exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.
timePeriod
- The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date
is exclusive. For example, if start
is 2017-01-01
and end
is
2017-05-01
, then the cost and usage data is retrieved from 2017-01-01
up to and
including 2017-04-30
but not including 2017-05-01
.public void setTagKey(String tagKey)
The key of the tag that you want to return values for.
tagKey
- The key of the tag that you want to return values for.public String getTagKey()
The key of the tag that you want to return values for.
public GetTagsRequest withTagKey(String tagKey)
The key of the tag that you want to return values for.
tagKey
- The key of the tag that you want to return values for.public void setFilter(Expression filter)
filter
- public Expression getFilter()
public GetTagsRequest withFilter(Expression filter)
filter
- public List<SortDefinition> getSortBy()
The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't supported.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't
supported.
public void setSortBy(Collection<SortDefinition> sortBy)
The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't supported.
sortBy
- The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't
supported.
public GetTagsRequest withSortBy(SortDefinition... sortBy)
The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't 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 that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't
supported.
public GetTagsRequest withSortBy(Collection<SortDefinition> sortBy)
The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't supported.
sortBy
- The value that you want to sort the data by.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
The supported values for SortOrder
are ASCENDING
and DESCENDING
.
When you use SortBy
, NextPageToken
and SearchString
aren't
supported.
public void setMaxResults(Integer maxResults)
This field is only used when SortBy is provided in the request. The maximum number of objects that are returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as the default value for this parameter.
For GetTags
, MaxResults has an upper quota of 1000.
maxResults
- This field is only used when SortBy is provided in the request. The maximum number of objects that are
returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as
the default value for this parameter.
For GetTags
, MaxResults has an upper quota of 1000.
public Integer getMaxResults()
This field is only used when SortBy is provided in the request. The maximum number of objects that are returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as the default value for this parameter.
For GetTags
, MaxResults has an upper quota of 1000.
For GetTags
, MaxResults has an upper quota of 1000.
public GetTagsRequest withMaxResults(Integer maxResults)
This field is only used when SortBy is provided in the request. The maximum number of objects that are returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as the default value for this parameter.
For GetTags
, MaxResults has an upper quota of 1000.
maxResults
- This field is only used when SortBy is provided in the request. The maximum number of objects that are
returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as
the default value for this parameter.
For GetTags
, MaxResults has an upper quota of 1000.
public void setNextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public String getNextPageToken()
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
public GetTagsRequest withNextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public String toString()
toString
in class Object
Object.toString()
public GetTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()