Interface ListWhatIfForecastsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListWhatIfForecastsRequest.Builder,ListWhatIfForecastsRequest>,ForecastRequest.Builder,SdkBuilder<ListWhatIfForecastsRequest.Builder,ListWhatIfForecastsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListWhatIfForecastsRequest
public static interface ListWhatIfForecastsRequest.Builder extends ForecastRequest.Builder, SdkPojo, CopyableBuilder<ListWhatIfForecastsRequest.Builder,ListWhatIfForecastsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWhatIfForecastsRequest.Builderfilters(Collection<Filter> filters)An array of filters.ListWhatIfForecastsRequest.Builderfilters(Consumer<Filter.Builder>... filters)An array of filters.ListWhatIfForecastsRequest.Builderfilters(Filter... filters)An array of filters.ListWhatIfForecastsRequest.BuildermaxResults(Integer maxResults)The number of items to return in the response.ListWhatIfForecastsRequest.BuildernextToken(String nextToken)If the result of the previous request was truncated, the response includes aNextToken.ListWhatIfForecastsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListWhatIfForecastsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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.forecast.model.ForecastRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
nextToken
ListWhatIfForecastsRequest.Builder nextToken(String nextToken)
If the result of the previous request was truncated, the response includes a
NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.- Parameters:
nextToken- If the result of the previous request was truncated, the response includes aNextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListWhatIfForecastsRequest.Builder maxResults(Integer maxResults)
The number of items to return in the response.
- Parameters:
maxResults- The number of items to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListWhatIfForecastsRequest.Builder filters(Collection<Filter> filters)
An array of filters. For each filter, you provide a condition and a match statement. The condition is either
ISorIS_NOT, which specifies whether to include or exclude the what-if forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.Filter properties
-
Condition- The condition to apply. Valid values areISandIS_NOT. To include the forecast export jobs that match the statement, specifyIS. To exclude matching forecast export jobs, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areWhatIfForecastArnandStatus. -
Value- The value to match.
For example, to list all jobs that export a forecast named electricityWhatIfForecast, specify the following filter:
"Filters": [ { "Condition": "IS", "Key": "WhatIfForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityWhatIfForecast" } ]- Parameters:
filters- An array of filters. For each filter, you provide a condition and a match statement. The condition is eitherISorIS_NOT, which specifies whether to include or exclude the what-if forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.Filter properties
-
Condition- The condition to apply. Valid values areISandIS_NOT. To include the forecast export jobs that match the statement, specifyIS. To exclude matching forecast export jobs, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areWhatIfForecastArnandStatus. -
Value- The value to match.
For example, to list all jobs that export a forecast named electricityWhatIfForecast, specify the following filter:
"Filters": [ { "Condition": "IS", "Key": "WhatIfForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityWhatIfForecast" } ]-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListWhatIfForecastsRequest.Builder filters(Filter... filters)
An array of filters. For each filter, you provide a condition and a match statement. The condition is either
ISorIS_NOT, which specifies whether to include or exclude the what-if forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.Filter properties
-
Condition- The condition to apply. Valid values areISandIS_NOT. To include the forecast export jobs that match the statement, specifyIS. To exclude matching forecast export jobs, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areWhatIfForecastArnandStatus. -
Value- The value to match.
For example, to list all jobs that export a forecast named electricityWhatIfForecast, specify the following filter:
"Filters": [ { "Condition": "IS", "Key": "WhatIfForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityWhatIfForecast" } ]- Parameters:
filters- An array of filters. For each filter, you provide a condition and a match statement. The condition is eitherISorIS_NOT, which specifies whether to include or exclude the what-if forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.Filter properties
-
Condition- The condition to apply. Valid values areISandIS_NOT. To include the forecast export jobs that match the statement, specifyIS. To exclude matching forecast export jobs, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areWhatIfForecastArnandStatus. -
Value- The value to match.
For example, to list all jobs that export a forecast named electricityWhatIfForecast, specify the following filter:
"Filters": [ { "Condition": "IS", "Key": "WhatIfForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityWhatIfForecast" } ]-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListWhatIfForecastsRequest.Builder filters(Consumer<Filter.Builder>... filters)
An array of filters. For each filter, you provide a condition and a match statement. The condition is either
ISorIS_NOT, which specifies whether to include or exclude the what-if forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.Filter properties
-
Condition- The condition to apply. Valid values areISandIS_NOT. To include the forecast export jobs that match the statement, specifyIS. To exclude matching forecast export jobs, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areWhatIfForecastArnandStatus. -
Value- The value to match.
For example, to list all jobs that export a forecast named electricityWhatIfForecast, specify the following filter:
This is a convenience method that creates an instance of the"Filters": [ { "Condition": "IS", "Key": "WhatIfForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityWhatIfForecast" } ]Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
-
overrideConfiguration
ListWhatIfForecastsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListWhatIfForecastsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-