Interface DescribeMaintenanceWindowTasksRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeMaintenanceWindowTasksRequest.Builder,
,DescribeMaintenanceWindowTasksRequest> SdkBuilder<DescribeMaintenanceWindowTasksRequest.Builder,
,DescribeMaintenanceWindowTasksRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
DescribeMaintenanceWindowTasksRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<MaintenanceWindowFilter> filters) Optional filters used to narrow down the scope of the returned tasks.filters
(Consumer<MaintenanceWindowFilter.Builder>... filters) Optional filters used to narrow down the scope of the returned tasks.filters
(MaintenanceWindowFilter... filters) Optional filters used to narrow down the scope of the returned tasks.maxResults
(Integer maxResults) The maximum number of items to return for this call.The token for the next set of items to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the maintenance window whose tasks should be retrieved.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
windowId
The ID of the maintenance window whose tasks should be retrieved.
- Parameters:
windowId
- The ID of the maintenance window whose tasks should be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are
WindowTaskId
,TaskArn
,Priority
, andTaskType
.- Parameters:
filters
- Optional filters used to narrow down the scope of the returned tasks. The supported filter keys areWindowTaskId
,TaskArn
,Priority
, andTaskType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are
WindowTaskId
,TaskArn
,Priority
, andTaskType
.- Parameters:
filters
- Optional filters used to narrow down the scope of the returned tasks. The supported filter keys areWindowTaskId
,TaskArn
,Priority
, andTaskType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeMaintenanceWindowTasksRequest.Builder filters(Consumer<MaintenanceWindowFilter.Builder>... filters) Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are
This is a convenience method that creates an instance of theWindowTaskId
,TaskArn
,Priority
, andTaskType
.MaintenanceWindowFilter.Builder
avoiding the need to create one manually viaMaintenanceWindowFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<MaintenanceWindowFilter>)
.- Parameters:
filters
- a consumer that will call methods onMaintenanceWindowFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeMaintenanceWindowTasksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeMaintenanceWindowTasksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-