Interface PatchGroupPatchBaselineMapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PatchGroupPatchBaselineMapping.Builder,
,PatchGroupPatchBaselineMapping> SdkBuilder<PatchGroupPatchBaselineMapping.Builder,
,PatchGroupPatchBaselineMapping> SdkPojo
- Enclosing class:
PatchGroupPatchBaselineMapping
public static interface PatchGroupPatchBaselineMapping.Builder
extends SdkPojo, CopyableBuilder<PatchGroupPatchBaselineMapping.Builder,PatchGroupPatchBaselineMapping>
-
Method Summary
Modifier and TypeMethodDescriptionbaselineIdentity
(Consumer<PatchBaselineIdentity.Builder> baselineIdentity) The patch baseline the patch group is registered with.baselineIdentity
(PatchBaselineIdentity baselineIdentity) The patch baseline the patch group is registered with.patchGroup
(String patchGroup) The name of the patch group registered with the 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
-
patchGroup
The name of the patch group registered with the patch baseline.
- Parameters:
patchGroup
- The name of the patch group registered with the patch baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineIdentity
The patch baseline the patch group is registered with.
- Parameters:
baselineIdentity
- The patch baseline the patch group is registered with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineIdentity
default PatchGroupPatchBaselineMapping.Builder baselineIdentity(Consumer<PatchBaselineIdentity.Builder> baselineIdentity) The patch baseline the patch group is registered with.
This is a convenience method that creates an instance of thePatchBaselineIdentity.Builder
avoiding the need to create one manually viaPatchBaselineIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaselineIdentity(PatchBaselineIdentity)
.- Parameters:
baselineIdentity
- a consumer that will call methods onPatchBaselineIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-