Interface ListPredictorsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPredictorsRequest.Builder,ListPredictorsRequest>,ForecastRequest.Builder,SdkBuilder<ListPredictorsRequest.Builder,ListPredictorsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListPredictorsRequest
public static interface ListPredictorsRequest.Builder extends ForecastRequest.Builder, SdkPojo, CopyableBuilder<ListPredictorsRequest.Builder,ListPredictorsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPredictorsRequest.Builderfilters(Collection<Filter> filters)An array of filters.ListPredictorsRequest.Builderfilters(Consumer<Filter.Builder>... filters)An array of filters.ListPredictorsRequest.Builderfilters(Filter... filters)An array of filters.ListPredictorsRequest.BuildermaxResults(Integer maxResults)The number of items to return in the response.ListPredictorsRequest.BuildernextToken(String nextToken)If the result of the previous request was truncated, the response includes aNextToken.ListPredictorsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPredictorsRequest.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
ListPredictorsRequest.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
ListPredictorsRequest.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
ListPredictorsRequest.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 predictors 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 predictors that match the statement, specifyIS. To exclude matching predictors, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areDatasetGroupArnandStatus. -
Value- The value to match.
For example, to list all predictors whose status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]- 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 predictors 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 predictors that match the statement, specifyIS. To exclude matching predictors, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areDatasetGroupArnandStatus. -
Value- The value to match.
For example, to list all predictors whose status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListPredictorsRequest.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 predictors 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 predictors that match the statement, specifyIS. To exclude matching predictors, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areDatasetGroupArnandStatus. -
Value- The value to match.
For example, to list all predictors whose status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]- 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 predictors 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 predictors that match the statement, specifyIS. To exclude matching predictors, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areDatasetGroupArnandStatus. -
Value- The value to match.
For example, to list all predictors whose status is ACTIVE, you would specify:
"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListPredictorsRequest.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 predictors 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 predictors that match the statement, specifyIS. To exclude matching predictors, specifyIS_NOT. -
Key- The name of the parameter to filter on. Valid values areDatasetGroupArnandStatus. -
Value- The value to match.
For example, to list all predictors whose status is ACTIVE, you would specify:
This is a convenience method that creates an instance of the"Filters": [ { "Condition": "IS", "Key": "Status", "Value": "ACTIVE" } ]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
ListPredictorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPredictorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-