Interface DescribeMaintenanceWindowTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMaintenanceWindowTasksResponse.Builder,
,DescribeMaintenanceWindowTasksResponse> SdkBuilder<DescribeMaintenanceWindowTasksResponse.Builder,
,DescribeMaintenanceWindowTasksResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
DescribeMaintenanceWindowTasksResponse
@Mutable
@NotThreadSafe
public static interface DescribeMaintenanceWindowTasksResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowTasksResponse.Builder,DescribeMaintenanceWindowTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use when requesting the next set of items.tasks
(Collection<MaintenanceWindowTask> tasks) Information about the tasks in the maintenance window.tasks
(Consumer<MaintenanceWindowTask.Builder>... tasks) Information about the tasks in the maintenance window.tasks
(MaintenanceWindowTask... tasks) Information about the tasks in the maintenance window.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
tasks
Information about the tasks in the maintenance window.
- Parameters:
tasks
- Information about the tasks in the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
Information about the tasks in the maintenance window.
- Parameters:
tasks
- Information about the tasks in the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
DescribeMaintenanceWindowTasksResponse.Builder tasks(Consumer<MaintenanceWindowTask.Builder>... tasks) Information about the tasks in the maintenance window.
This is a convenience method that creates an instance of theMaintenanceWindowTask.Builder
avoiding the need to create one manually viaMaintenanceWindowTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totasks(List<MaintenanceWindowTask>)
.- Parameters:
tasks
- a consumer that will call methods onMaintenanceWindowTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-