Interface PatchSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PatchSource.Builder,PatchSource>,SdkBuilder<PatchSource.Builder,PatchSource>,SdkPojo
- Enclosing class:
- PatchSource
@Mutable @NotThreadSafe public static interface PatchSource.Builder extends SdkPojo, CopyableBuilder<PatchSource.Builder,PatchSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PatchSource.Builderconfiguration(String configuration)The value of the yum repo configuration.PatchSource.Buildername(String name)The name specified to identify the patch source.PatchSource.Builderproducts(String... products)The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7".PatchSource.Builderproducts(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 Detail
-
name
PatchSource.Builder name(String 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
PatchSource.Builder 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". 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
PatchSource.Builder products(String... 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
PatchSource.Builder configuration(String configuration)
The value of the yum repo configuration. For example:
[main]name=MyCustomRepositorybaseurl=https://my-custom-repositoryenabled=1For information about other options available for your yum repository configuration, see dnf.conf(5).
- Parameters:
configuration- The value of the yum repo configuration. For example:[main]name=MyCustomRepositorybaseurl=https://my-custom-repositoryenabled=1For information about other options available for your yum repository configuration, see dnf.conf(5).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-