Interface DescribeAvailablePatchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAvailablePatchesResponse.Builder,,DescribeAvailablePatchesResponse> SdkBuilder<DescribeAvailablePatchesResponse.Builder,,DescribeAvailablePatchesResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
DescribeAvailablePatchesResponse
@Mutable
@NotThreadSafe
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
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
-
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.Builderavoiding the need to create one manually viaPatch.builder().When the
Consumercompletes,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.
-