Interface EffectivePatch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EffectivePatch.Builder,
,EffectivePatch> SdkBuilder<EffectivePatch.Builder,
,EffectivePatch> SdkPojo
- Enclosing class:
EffectivePatch
-
Method Summary
Modifier and TypeMethodDescriptiondefault EffectivePatch.Builder
patch
(Consumer<Patch.Builder> patch) Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.default EffectivePatch.Builder
patchStatus
(Consumer<PatchStatus.Builder> patchStatus) The status of the patch in a patch baseline.patchStatus
(PatchStatus patchStatus) The status of the patch in a patch baseline.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
Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
- Parameters:
patch
- Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patch
Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
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 topatch(Patch)
.- Parameters:
patch
- 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:
-
patchStatus
The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
- Parameters:
patchStatus
- The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchStatus
The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
This is a convenience method that creates an instance of thePatchStatus.Builder
avoiding the need to create one manually viaPatchStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topatchStatus(PatchStatus)
.- Parameters:
patchStatus
- a consumer that will call methods onPatchStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-