Interface DescribeMaintenanceWindowTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMaintenanceWindowTasksResponse.Builder,DescribeMaintenanceWindowTasksResponse>,SdkBuilder<DescribeMaintenanceWindowTasksResponse.Builder,DescribeMaintenanceWindowTasksResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- DescribeMaintenanceWindowTasksResponse
public static interface DescribeMaintenanceWindowTasksResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowTasksResponse.Builder,DescribeMaintenanceWindowTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeMaintenanceWindowTasksResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of items.DescribeMaintenanceWindowTasksResponse.Buildertasks(Collection<MaintenanceWindowTask> tasks)Information about the tasks in the maintenance window.DescribeMaintenanceWindowTasksResponse.Buildertasks(Consumer<MaintenanceWindowTask.Builder>... tasks)Information about the tasks in the maintenance window.DescribeMaintenanceWindowTasksResponse.Buildertasks(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 Detail
-
tasks
DescribeMaintenanceWindowTasksResponse.Builder tasks(Collection<MaintenanceWindowTask> 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(MaintenanceWindowTask... 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.Builderavoiding the need to create one manually viaMaintenanceWindowTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tasks(List.) - 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:
#tasks(java.util.Collection)
-
nextToken
DescribeMaintenanceWindowTasksResponse.Builder nextToken(String 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.
-
-