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

com.pulumi.azurenative.securityinsights.SystemArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.securityinsights;

import com.pulumi.azurenative.securityinsights.enums.SystemStatusType;
import com.pulumi.azurenative.securityinsights.inputs.SapSystemsConfigurationArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SystemArgs Empty = new SystemArgs();

    /**
     * Business Application Agent Name
     * 
     */
    @Import(name="agentResourceName", required=true)
    private Output agentResourceName;

    /**
     * @return Business Application Agent Name
     * 
     */
    public Output agentResourceName() {
        return this.agentResourceName;
    }

    /**
     * The configuration of the system.
     * 
     */
    @Import(name="configuration", required=true)
    private Output configuration;

    /**
     * @return The configuration of the system.
     * 
     */
    public Output configuration() {
        return this.configuration;
    }

    @Import(name="displayName", required=true)
    private Output displayName;

    public Output displayName() {
        return this.displayName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The status of the system.
     * 
     */
    @Import(name="status")
    private @Nullable Output> status;

    /**
     * @return The status of the system.
     * 
     */
    public Optional>> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * The name of the system.
     * 
     */
    @Import(name="systemResourceName")
    private @Nullable Output systemResourceName;

    /**
     * @return The name of the system.
     * 
     */
    public Optional> systemResourceName() {
        return Optional.ofNullable(this.systemResourceName);
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private SystemArgs() {}

    private SystemArgs(SystemArgs $) {
        this.agentResourceName = $.agentResourceName;
        this.configuration = $.configuration;
        this.displayName = $.displayName;
        this.resourceGroupName = $.resourceGroupName;
        this.status = $.status;
        this.systemResourceName = $.systemResourceName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private SystemArgs $;

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

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

        /**
         * @param agentResourceName Business Application Agent Name
         * 
         * @return builder
         * 
         */
        public Builder agentResourceName(Output agentResourceName) {
            $.agentResourceName = agentResourceName;
            return this;
        }

        /**
         * @param agentResourceName Business Application Agent Name
         * 
         * @return builder
         * 
         */
        public Builder agentResourceName(String agentResourceName) {
            return agentResourceName(Output.of(agentResourceName));
        }

        /**
         * @param configuration The configuration of the system.
         * 
         * @return builder
         * 
         */
        public Builder configuration(Output configuration) {
            $.configuration = configuration;
            return this;
        }

        /**
         * @param configuration The configuration of the system.
         * 
         * @return builder
         * 
         */
        public Builder configuration(SapSystemsConfigurationArgs configuration) {
            return configuration(Output.of(configuration));
        }

        public Builder displayName(Output displayName) {
            $.displayName = displayName;
            return this;
        }

        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param status The status of the system.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output> status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of the system.
         * 
         * @return builder
         * 
         */
        public Builder status(Either status) {
            return status(Output.of(status));
        }

        /**
         * @param status The status of the system.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Either.ofLeft(status));
        }

        /**
         * @param status The status of the system.
         * 
         * @return builder
         * 
         */
        public Builder status(SystemStatusType status) {
            return status(Either.ofRight(status));
        }

        /**
         * @param systemResourceName The name of the system.
         * 
         * @return builder
         * 
         */
        public Builder systemResourceName(@Nullable Output systemResourceName) {
            $.systemResourceName = systemResourceName;
            return this;
        }

        /**
         * @param systemResourceName The name of the system.
         * 
         * @return builder
         * 
         */
        public Builder systemResourceName(String systemResourceName) {
            return systemResourceName(Output.of(systemResourceName));
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(Output workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            return workspaceName(Output.of(workspaceName));
        }

        public SystemArgs build() {
            if ($.agentResourceName == null) {
                throw new MissingRequiredPropertyException("SystemArgs", "agentResourceName");
            }
            if ($.configuration == null) {
                throw new MissingRequiredPropertyException("SystemArgs", "configuration");
            }
            if ($.displayName == null) {
                throw new MissingRequiredPropertyException("SystemArgs", "displayName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SystemArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("SystemArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy