Interface DescribeAvailablePatchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAvailablePatchesResponse.Builder,
,DescribeAvailablePatchesResponse> SdkBuilder<DescribeAvailablePatchesResponse.Builder,
,DescribeAvailablePatchesResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
DescribeAvailablePatchesResponse
public static interface DescribeAvailablePatchesResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeAvailablePatchesResponse.Builder,DescribeAvailablePatchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use when requesting the next set of items.patches
(Collection<Patch> patches) An array of patches.patches
(Consumer<Patch.Builder>... patches) An array of patches.An array of patches.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
-
patches
An array of patches. Each entry in the array is a patch structure.
- Parameters:
patches
- An array of patches. Each entry in the array is a patch structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patches
An array of patches. Each entry in the array is a patch structure.
- Parameters:
patches
- An array of patches. Each entry in the array is a patch structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patches
An array of patches. Each entry in the array is a patch structure.
This is a convenience method that creates an instance of thePatch.Builder
avoiding the need to create one manually viaPatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topatches(List<Patch>)
.- Parameters:
patches
- a consumer that will call methods onPatch.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.
-