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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAvailablePatchesResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of items.DescribeAvailablePatchesResponse.Builderpatches(Collection<Patch> patches)An array of patches.DescribeAvailablePatchesResponse.Builderpatches(Consumer<Patch.Builder>... patches)An array of patches.DescribeAvailablePatchesResponse.Builderpatches(Patch... 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, 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
-
patches
DescribeAvailablePatchesResponse.Builder patches(Collection<Patch> 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
DescribeAvailablePatchesResponse.Builder patches(Patch... 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
DescribeAvailablePatchesResponse.Builder patches(Consumer<Patch.Builder>... 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 to#patches(List.) - 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:
#patches(java.util.Collection)
-
nextToken
DescribeAvailablePatchesResponse.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.
-
-