Interface DescribeMaintenanceWindowExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMaintenanceWindowExecutionsResponse.Builder,
,DescribeMaintenanceWindowExecutionsResponse> SdkBuilder<DescribeMaintenanceWindowExecutionsResponse.Builder,
,DescribeMaintenanceWindowExecutionsResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
DescribeMaintenanceWindowExecutionsResponse
public static interface DescribeMaintenanceWindowExecutionsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowExecutionsResponse.Builder,DescribeMaintenanceWindowExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use when requesting the next set of items.windowExecutions
(Collection<MaintenanceWindowExecution> windowExecutions) Information about the maintenance window executions.windowExecutions
(Consumer<MaintenanceWindowExecution.Builder>... windowExecutions) Information about the maintenance window executions.windowExecutions
(MaintenanceWindowExecution... windowExecutions) Information about the maintenance window executions.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
windowExecutions
DescribeMaintenanceWindowExecutionsResponse.Builder windowExecutions(Collection<MaintenanceWindowExecution> windowExecutions) Information about the maintenance window executions.
- Parameters:
windowExecutions
- Information about the maintenance window executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowExecutions
DescribeMaintenanceWindowExecutionsResponse.Builder windowExecutions(MaintenanceWindowExecution... windowExecutions) Information about the maintenance window executions.
- Parameters:
windowExecutions
- Information about the maintenance window executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowExecutions
DescribeMaintenanceWindowExecutionsResponse.Builder windowExecutions(Consumer<MaintenanceWindowExecution.Builder>... windowExecutions) Information about the maintenance window executions.
This is a convenience method that creates an instance of theMaintenanceWindowExecution.Builder
avoiding the need to create one manually viaMaintenanceWindowExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towindowExecutions(List<MaintenanceWindowExecution>)
.- Parameters:
windowExecutions
- a consumer that will call methods onMaintenanceWindowExecution.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.
-