Interface DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder,,DescribeMaintenanceWindowExecutionTaskInvocationsRequest> SdkBuilder<DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder,,DescribeMaintenanceWindowExecutionTaskInvocationsRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
DescribeMaintenanceWindowExecutionTaskInvocationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<MaintenanceWindowFilter> filters) Optional filters used to scope down the returned task invocations.filters(Consumer<MaintenanceWindowFilter.Builder>... filters) Optional filters used to scope down the returned task invocations.filters(MaintenanceWindowFilter... filters) Optional filters used to scope down the returned task invocations.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 specific task in the maintenance window task that should be retrieved.windowExecutionId(String windowExecutionId) The ID of the maintenance window execution the task is part of.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
windowExecutionId
DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder windowExecutionId(String windowExecutionId) The ID of the maintenance window execution the task is part of.
- Parameters:
windowExecutionId- The ID of the maintenance window execution the task is part of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
The ID of the specific task in the maintenance window task that should be retrieved.
- Parameters:
taskId- The ID of the specific task in the maintenance window task that should be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder filters(Collection<MaintenanceWindowFilter> filters) Optional filters used to scope down the returned task invocations. The supported filter key is
STATUSwith the corresponding valuesPENDING,IN_PROGRESS,SUCCESS,FAILED,TIMED_OUT,CANCELLING, andCANCELLED.- Parameters:
filters- Optional filters used to scope down the returned task invocations. The supported filter key isSTATUSwith the corresponding valuesPENDING,IN_PROGRESS,SUCCESS,FAILED,TIMED_OUT,CANCELLING, andCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder filters(MaintenanceWindowFilter... filters) Optional filters used to scope down the returned task invocations. The supported filter key is
STATUSwith the corresponding valuesPENDING,IN_PROGRESS,SUCCESS,FAILED,TIMED_OUT,CANCELLING, andCANCELLED.- Parameters:
filters- Optional filters used to scope down the returned task invocations. The supported filter key isSTATUSwith the corresponding valuesPENDING,IN_PROGRESS,SUCCESS,FAILED,TIMED_OUT,CANCELLING, andCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder filters(Consumer<MaintenanceWindowFilter.Builder>... filters) Optional filters used to scope down the returned task invocations. The supported filter key is
This is a convenience method that creates an instance of theSTATUSwith the corresponding valuesPENDING,IN_PROGRESS,SUCCESS,FAILED,TIMED_OUT,CANCELLING, andCANCELLED.MaintenanceWindowFilter.Builderavoiding the need to create one manually viaMaintenanceWindowFilter.builder().When the
Consumercompletes,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
DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeMaintenanceWindowExecutionTaskInvocationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-