public static interface EffectivePatch.Builder extends CopyableBuilder<EffectivePatch.Builder,EffectivePatch>
Modifier and Type | Method and Description |
---|---|
default 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.
|
EffectivePatch.Builder |
patch(Patch 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.
|
EffectivePatch.Builder |
patchStatus(PatchStatus patchStatus)
The status of the patch in a patch baseline.
|
copy
applyMutation, build
EffectivePatch.Builder patch(Patch 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.
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 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.
This is a convenience that creates an instance of thePatch.Builder
avoiding the need to create one
manually via Patch.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to patch(Patch)
.patch
- a consumer that will call methods on Patch.Builder
patch(Patch)
EffectivePatch.Builder patchStatus(PatchStatus 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.
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.default EffectivePatch.Builder patchStatus(Consumer<PatchStatus.Builder> 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 that creates an instance of thePatchStatus.Builder
avoiding the need to create
one manually via PatchStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to patchStatus(PatchStatus)
.patchStatus
- a consumer that will call methods on PatchStatus.Builder
patchStatus(PatchStatus)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.