@Stability(value=Stable) public static final class CfnPatchBaseline.PatchSourceProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnPatchBaseline.PatchSourceProperty>
CfnPatchBaseline.PatchSourceProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnPatchBaseline.PatchSourceProperty |
build()
Builds the configured instance.
|
CfnPatchBaseline.PatchSourceProperty.Builder |
configuration(String configuration)
Sets the value of
CfnPatchBaseline.PatchSourceProperty.getConfiguration() |
CfnPatchBaseline.PatchSourceProperty.Builder |
name(String name)
Sets the value of
CfnPatchBaseline.PatchSourceProperty.getName() |
CfnPatchBaseline.PatchSourceProperty.Builder |
products(List<String> products)
Sets the value of
CfnPatchBaseline.PatchSourceProperty.getProducts() |
@Stability(value=Stable) public CfnPatchBaseline.PatchSourceProperty.Builder configuration(String configuration)
CfnPatchBaseline.PatchSourceProperty.getConfiguration()configuration - The value of the yum repo configuration. For example:.
[main]
name=MyCustomRepository
baseurl=https://my-custom-repository
enabled=1
For information about other options available for your yum repository configuration, see dnf.conf(5) .
this@Stability(value=Stable) public CfnPatchBaseline.PatchSourceProperty.Builder name(String name)
CfnPatchBaseline.PatchSourceProperty.getName()name - The name specified to identify the patch source.this@Stability(value=Stable) public CfnPatchBaseline.PatchSourceProperty.Builder products(List<String> products)
CfnPatchBaseline.PatchSourceProperty.getProducts()products - The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html) in the *AWS Systems Manager API Reference* .this@Stability(value=Stable) public CfnPatchBaseline.PatchSourceProperty build()
build in interface software.amazon.jsii.Builder<CfnPatchBaseline.PatchSourceProperty>CfnPatchBaseline.PatchSourcePropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.