com.pulumi.aws.ssm.inputs.PatchBaselineSourceArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.ssm.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class PatchBaselineSourceArgs extends com.pulumi.resources.ResourceArgs {
public static final PatchBaselineSourceArgs Empty = new PatchBaselineSourceArgs();
/**
* Value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html)
*
*/
@Import(name="configuration", required=true)
private Output configuration;
/**
* @return Value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html)
*
*/
public Output configuration() {
return this.configuration;
}
/**
* Name specified to identify the patch source.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return Name specified to identify the patch source.
*
*/
public Output name() {
return this.name;
}
/**
* 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).
*
*/
@Import(name="products", required=true)
private Output> products;
/**
* @return 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).
*
*/
public Output> products() {
return this.products;
}
private PatchBaselineSourceArgs() {}
private PatchBaselineSourceArgs(PatchBaselineSourceArgs $) {
this.configuration = $.configuration;
this.name = $.name;
this.products = $.products;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PatchBaselineSourceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PatchBaselineSourceArgs $;
public Builder() {
$ = new PatchBaselineSourceArgs();
}
public Builder(PatchBaselineSourceArgs defaults) {
$ = new PatchBaselineSourceArgs(Objects.requireNonNull(defaults));
}
/**
* @param configuration Value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html)
*
* @return builder
*
*/
public Builder configuration(Output configuration) {
$.configuration = configuration;
return this;
}
/**
* @param configuration Value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html)
*
* @return builder
*
*/
public Builder configuration(String configuration) {
return configuration(Output.of(configuration));
}
/**
* @param name Name specified to identify the patch source.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name Name specified to identify the patch source.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param products 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).
*
* @return builder
*
*/
public Builder products(Output> products) {
$.products = products;
return this;
}
/**
* @param products 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).
*
* @return builder
*
*/
public Builder products(List products) {
return products(Output.of(products));
}
/**
* @param products 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).
*
* @return builder
*
*/
public Builder products(String... products) {
return products(List.of(products));
}
public PatchBaselineSourceArgs build() {
if ($.configuration == null) {
throw new MissingRequiredPropertyException("PatchBaselineSourceArgs", "configuration");
}
if ($.name == null) {
throw new MissingRequiredPropertyException("PatchBaselineSourceArgs", "name");
}
if ($.products == null) {
throw new MissingRequiredPropertyException("PatchBaselineSourceArgs", "products");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy