Interface DescribeMaintenanceWindowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMaintenanceWindowsResponse.Builder,,DescribeMaintenanceWindowsResponse> SdkBuilder<DescribeMaintenanceWindowsResponse.Builder,,DescribeMaintenanceWindowsResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
DescribeMaintenanceWindowsResponse
@Mutable
@NotThreadSafe
public static interface DescribeMaintenanceWindowsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowsResponse.Builder,DescribeMaintenanceWindowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use when requesting the next set of items.windowIdentities(Collection<MaintenanceWindowIdentity> windowIdentities) Information about the maintenance windows.windowIdentities(Consumer<MaintenanceWindowIdentity.Builder>... windowIdentities) Information about the maintenance windows.windowIdentities(MaintenanceWindowIdentity... windowIdentities) Information about the maintenance windows.Methods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
windowIdentities
DescribeMaintenanceWindowsResponse.Builder windowIdentities(Collection<MaintenanceWindowIdentity> windowIdentities) Information about the maintenance windows.
- Parameters:
windowIdentities- Information about the maintenance windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowIdentities
DescribeMaintenanceWindowsResponse.Builder windowIdentities(MaintenanceWindowIdentity... windowIdentities) Information about the maintenance windows.
- Parameters:
windowIdentities- Information about the maintenance windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowIdentities
DescribeMaintenanceWindowsResponse.Builder windowIdentities(Consumer<MaintenanceWindowIdentity.Builder>... windowIdentities) Information about the maintenance windows.
This is a convenience method that creates an instance of theMaintenanceWindowIdentity.Builderavoiding the need to create one manually viaMaintenanceWindowIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towindowIdentities(List<MaintenanceWindowIdentity>).- Parameters:
windowIdentities- a consumer that will call methods onMaintenanceWindowIdentity.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.
-