All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.scm.inputs.VulnerabilityProtectionSignaturesAffectedHostArgs Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
Show newest version
// *** 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.scm.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VulnerabilityProtectionSignaturesAffectedHostArgs extends com.pulumi.resources.ResourceArgs {

    public static final VulnerabilityProtectionSignaturesAffectedHostArgs Empty = new VulnerabilityProtectionSignaturesAffectedHostArgs();

    /**
     * The Client param. Ensure that only one of the following is specified: `client`, `server`
     * 
     */
    @Import(name="client")
    private @Nullable Output client;

    /**
     * @return The Client param. Ensure that only one of the following is specified: `client`, `server`
     * 
     */
    public Optional> client() {
        return Optional.ofNullable(this.client);
    }

    /**
     * The Server param. Ensure that only one of the following is specified: `client`, `server`
     * 
     */
    @Import(name="server")
    private @Nullable Output server;

    /**
     * @return The Server param. Ensure that only one of the following is specified: `client`, `server`
     * 
     */
    public Optional> server() {
        return Optional.ofNullable(this.server);
    }

    private VulnerabilityProtectionSignaturesAffectedHostArgs() {}

    private VulnerabilityProtectionSignaturesAffectedHostArgs(VulnerabilityProtectionSignaturesAffectedHostArgs $) {
        this.client = $.client;
        this.server = $.server;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(VulnerabilityProtectionSignaturesAffectedHostArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private VulnerabilityProtectionSignaturesAffectedHostArgs $;

        public Builder() {
            $ = new VulnerabilityProtectionSignaturesAffectedHostArgs();
        }

        public Builder(VulnerabilityProtectionSignaturesAffectedHostArgs defaults) {
            $ = new VulnerabilityProtectionSignaturesAffectedHostArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param client The Client param. Ensure that only one of the following is specified: `client`, `server`
         * 
         * @return builder
         * 
         */
        public Builder client(@Nullable Output client) {
            $.client = client;
            return this;
        }

        /**
         * @param client The Client param. Ensure that only one of the following is specified: `client`, `server`
         * 
         * @return builder
         * 
         */
        public Builder client(Boolean client) {
            return client(Output.of(client));
        }

        /**
         * @param server The Server param. Ensure that only one of the following is specified: `client`, `server`
         * 
         * @return builder
         * 
         */
        public Builder server(@Nullable Output server) {
            $.server = server;
            return this;
        }

        /**
         * @param server The Server param. Ensure that only one of the following is specified: `client`, `server`
         * 
         * @return builder
         * 
         */
        public Builder server(Boolean server) {
            return server(Output.of(server));
        }

        public VulnerabilityProtectionSignaturesAffectedHostArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy