Interface DescribeMaintenanceWindowTargetsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMaintenanceWindowTargetsResponse.Builder,DescribeMaintenanceWindowTargetsResponse>,SdkBuilder<DescribeMaintenanceWindowTargetsResponse.Builder,DescribeMaintenanceWindowTargetsResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- DescribeMaintenanceWindowTargetsResponse
@Mutable @NotThreadSafe public static interface DescribeMaintenanceWindowTargetsResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeMaintenanceWindowTargetsResponse.Builder,DescribeMaintenanceWindowTargetsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeMaintenanceWindowTargetsResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of items.DescribeMaintenanceWindowTargetsResponse.Buildertargets(Collection<MaintenanceWindowTarget> targets)Information about the targets in the maintenance window.DescribeMaintenanceWindowTargetsResponse.Buildertargets(Consumer<MaintenanceWindowTarget.Builder>... targets)Information about the targets in the maintenance window.DescribeMaintenanceWindowTargetsResponse.Buildertargets(MaintenanceWindowTarget... targets)Information about the targets 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
-
targets
DescribeMaintenanceWindowTargetsResponse.Builder targets(Collection<MaintenanceWindowTarget> targets)
Information about the targets in the maintenance window.
- Parameters:
targets- Information about the targets in the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
DescribeMaintenanceWindowTargetsResponse.Builder targets(MaintenanceWindowTarget... targets)
Information about the targets in the maintenance window.
- Parameters:
targets- Information about the targets in the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
DescribeMaintenanceWindowTargetsResponse.Builder targets(Consumer<MaintenanceWindowTarget.Builder>... targets)
Information about the targets in the maintenance window.
This is a convenience method that creates an instance of theMaintenanceWindowTarget.Builderavoiding the need to create one manually viaMaintenanceWindowTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targets(List.) - Parameters:
targets- a consumer that will call methods onMaintenanceWindowTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targets(java.util.Collection)
-
nextToken
DescribeMaintenanceWindowTargetsResponse.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.
-
-