Interface EffectivePatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EffectivePatch.Builder,EffectivePatch>,SdkBuilder<EffectivePatch.Builder,EffectivePatch>,SdkPojo
- Enclosing class:
- EffectivePatch
public static interface EffectivePatch.Builder extends SdkPojo, CopyableBuilder<EffectivePatch.Builder,EffectivePatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EffectivePatch.Builderpatch(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.Builderpatch(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.BuilderpatchStatus(Consumer<PatchStatus.Builder> patchStatus)The status of the patch in a patch baseline.EffectivePatch.BuilderpatchStatus(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
- 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
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 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 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:
patch(Patch)
-
patchStatus
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.
- 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
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 method that creates an instance of thePatchStatus.Builderavoiding the need to create one manually viaPatchStatus.builder().When the
Consumercompletes,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:
patchStatus(PatchStatus)
-
-