@Generated(value="software.amazon.awssdk:codegen") public final class GetTagsRequest extends CostExplorerRequest implements ToCopyableBuilder<GetTagsRequest.Builder,GetTagsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetTagsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetTagsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Expression |
filter()
Returns the value of the Filter property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSortBy()
Returns true if the SortBy property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Integer |
maxResults()
This field is only used when SortBy is provided in the request.
|
String |
nextPageToken()
The token to retrieve the next set of results.
|
List<SdkField<?>> |
sdkFields() |
String |
searchString()
The value that you want to search for.
|
static Class<? extends GetTagsRequest.Builder> |
serializableBuilderClass() |
List<SortDefinition> |
sortBy()
The value by which you want to sort the data.
|
String |
tagKey()
The key of the tag that you want to return values for.
|
DateInterval |
timePeriod()
The start and end dates for retrieving the dimension values.
|
GetTagsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String searchString()
The value that you want to search for.
public final 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.
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 final String tagKey()
The key of the tag that you want to return values for.
public final Expression filter()
public final boolean hasSortBy()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSortBy() to see if a value was sent in this field.
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 final 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.
For GetTags, MaxResults has an upper limit of 1000.
For GetTags, MaxResults has an upper limit of 1000.
public final String nextPageToken()
The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.
public GetTagsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetTagsRequest.Builder,GetTagsRequest>toBuilder in class CostExplorerRequestpublic static GetTagsRequest.Builder builder()
public static Class<? extends GetTagsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.