Interface GetTagsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetTagsRequest.Builder,GetTagsRequest>,CostExplorerRequest.Builder,SdkBuilder<GetTagsRequest.Builder,GetTagsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetTagsRequest
public static interface GetTagsRequest.Builder extends CostExplorerRequest.Builder, SdkPojo, CopyableBuilder<GetTagsRequest.Builder,GetTagsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTagsRequest.Builderfilter(Consumer<Expression.Builder> filter)Sets the value of the Filter property for this object.GetTagsRequest.Builderfilter(Expression filter)Sets the value of the Filter property for this object.GetTagsRequest.BuildermaxResults(Integer maxResults)This field is only used when SortBy is provided in the request.GetTagsRequest.BuildernextPageToken(String nextPageToken)The token to retrieve the next set of results.GetTagsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetTagsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetTagsRequest.BuildersearchString(String searchString)The value that you want to search for.GetTagsRequest.BuildersortBy(Collection<SortDefinition> sortBy)The value that you want to sort the data by.GetTagsRequest.BuildersortBy(Consumer<SortDefinition.Builder>... sortBy)The value that you want to sort the data by.GetTagsRequest.BuildersortBy(SortDefinition... sortBy)The value that you want to sort the data by.GetTagsRequest.BuildertagKey(String tagKey)The key of the tag that you want to return values for.default GetTagsRequest.BuildertimePeriod(Consumer<DateInterval.Builder> timePeriod)The start and end dates for retrieving the dimension values.GetTagsRequest.BuildertimePeriod(DateInterval timePeriod)The start and end dates for retrieving the dimension values.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
searchString
GetTagsRequest.Builder searchString(String searchString)
The value that you want to search for.
- Parameters:
searchString- The value that you want to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
GetTagsRequest.Builder timePeriod(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
startis2017-01-01andendis2017-05-01, then the cost and usage data is retrieved from2017-01-01up to and including2017-04-30but not including2017-05-01.- Parameters:
timePeriod- The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is exclusive. For example, ifstartis2017-01-01andendis2017-05-01, then the cost and usage data is retrieved from2017-01-01up to and including2017-04-30but not including2017-05-01.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
default GetTagsRequest.Builder timePeriod(Consumer<DateInterval.Builder> 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
This is a convenience method that creates an instance of thestartis2017-01-01andendis2017-05-01, then the cost and usage data is retrieved from2017-01-01up to and including2017-04-30but not including2017-05-01.DateInterval.Builderavoiding the need to create one manually viaDateInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimePeriod(DateInterval).- Parameters:
timePeriod- a consumer that will call methods onDateInterval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timePeriod(DateInterval)
-
tagKey
GetTagsRequest.Builder tagKey(String tagKey)
The key of the tag that you want to return values for.
- Parameters:
tagKey- The key of the tag that you want to return values for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
GetTagsRequest.Builder filter(Expression filter)
Sets the value of the Filter property for this object.- Parameters:
filter- The new value for the Filter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default GetTagsRequest.Builder filter(Consumer<Expression.Builder> filter)
Sets the value of the Filter property for this object. This is a convenience method that creates an instance of theExpression.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(Expression).- Parameters:
filter- a consumer that will call methods onExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(Expression)
-
sortBy
GetTagsRequest.Builder sortBy(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
SortOrderareASCENDINGandDESCENDING.When you use
SortBy,NextPageTokenandSearchStringaren't supported.- Parameters:
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
SortOrderareASCENDINGandDESCENDING.When you use
SortBy,NextPageTokenandSearchStringaren't supported.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
sortBy
GetTagsRequest.Builder sortBy(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
SortOrderareASCENDINGandDESCENDING.When you use
SortBy,NextPageTokenandSearchStringaren't supported.- Parameters:
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
SortOrderareASCENDINGandDESCENDING.When you use
SortBy,NextPageTokenandSearchStringaren't supported.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
sortBy
GetTagsRequest.Builder sortBy(Consumer<SortDefinition.Builder>... 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
SortOrderareASCENDINGandDESCENDING.When you use
This is a convenience method that creates an instance of theSortBy,NextPageTokenandSearchStringaren't supported.SortDefinition.Builderavoiding the need to create one manually viaSortDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sortBy(List.) - Parameters:
sortBy- a consumer that will call methods onSortDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sortBy(java.util.Collection)
-
-
maxResults
GetTagsRequest.Builder maxResults(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextPageToken
GetTagsRequest.Builder nextPageToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-