Interface AwsSsmPatchComplianceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsSsmPatchComplianceDetails.Builder,
,AwsSsmPatchComplianceDetails> SdkBuilder<AwsSsmPatchComplianceDetails.Builder,
,AwsSsmPatchComplianceDetails> SdkPojo
- Enclosing class:
AwsSsmPatchComplianceDetails
public static interface AwsSsmPatchComplianceDetails.Builder
extends SdkPojo, CopyableBuilder<AwsSsmPatchComplianceDetails.Builder,AwsSsmPatchComplianceDetails>
-
Method Summary
Modifier and TypeMethodDescriptionpatch
(Consumer<AwsSsmPatch.Builder> patch) Information about the status of a patch.patch
(AwsSsmPatch patch) Information about the status of a patch.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
-
Method Details
-
patch
Information about the status of a patch.
- Parameters:
patch
- Information about the status of a patch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patch
Information about the status of a patch.
This is a convenience method that creates an instance of theAwsSsmPatch.Builder
avoiding the need to create one manually viaAwsSsmPatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topatch(AwsSsmPatch)
.- Parameters:
patch
- a consumer that will call methods onAwsSsmPatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-