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