Interface DescribeMaintenanceWindowsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMaintenanceWindowsResponse.Builder,DescribeMaintenanceWindowsResponse>,SdkBuilder<DescribeMaintenanceWindowsResponse.Builder,DescribeMaintenanceWindowsResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- DescribeMaintenanceWindowsResponse
public static interface DescribeMaintenanceWindowsResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowsResponse.Builder,DescribeMaintenanceWindowsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeMaintenanceWindowsResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of items.DescribeMaintenanceWindowsResponse.BuilderwindowIdentities(Collection<MaintenanceWindowIdentity> windowIdentities)Information about the maintenance windows.DescribeMaintenanceWindowsResponse.BuilderwindowIdentities(Consumer<MaintenanceWindowIdentity.Builder>... windowIdentities)Information about the maintenance windows.DescribeMaintenanceWindowsResponse.BuilderwindowIdentities(MaintenanceWindowIdentity... windowIdentities)Information about the maintenance windows.-
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
-
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 to#windowIdentities(List.) - 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:
#windowIdentities(java.util.Collection)
-
nextToken
DescribeMaintenanceWindowsResponse.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.
-
-