Interface PatchSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PatchSource.Builder,
,PatchSource> SdkBuilder<PatchSource.Builder,
,PatchSource> SdkPojo
- Enclosing class:
PatchSource
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(String configuration) The value of the repo configuration.The name specified to identify the patch source.The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7".products
(Collection<String> products) The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7".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 Details
-
name
The name specified to identify the patch source.
- Parameters:
name
- The name specified to identify the patch source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The value of the repo configuration.
Example for yum repositories
[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) on the man7.org website.
Examples for Ubuntu Server and Debian Server
deb http://security.ubuntu.com/ubuntu jammy main
deb https://site.example.com/debian distribution component1 component2 component3
Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see jammy (5) sources.list.5.gz on the Ubuntu Server Manuals website and sources.list format on the Debian Wiki.
- Parameters:
configuration
- The value of the repo configuration.Example for yum repositories
[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) on the man7.org website.
Examples for Ubuntu Server and Debian Server
deb http://security.ubuntu.com/ubuntu jammy main
deb https://site.example.com/debian distribution component1 component2 component3
Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see jammy (5) sources.list.5.gz on the Ubuntu Server Manuals website and sources.list format on the Debian Wiki.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-