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

com.pulumi.azurenative.security.SecurityOperatorArgs 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.security;

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 SecurityOperatorArgs extends com.pulumi.resources.ResourceArgs {

    public static final SecurityOperatorArgs Empty = new SecurityOperatorArgs();

    /**
     * name of the pricing configuration
     * 
     */
    @Import(name="pricingName", required=true)
    private Output pricingName;

    /**
     * @return name of the pricing configuration
     * 
     */
    public Output pricingName() {
        return this.pricingName;
    }

    /**
     * name of the securityOperator
     * 
     */
    @Import(name="securityOperatorName")
    private @Nullable Output securityOperatorName;

    /**
     * @return name of the securityOperator
     * 
     */
    public Optional> securityOperatorName() {
        return Optional.ofNullable(this.securityOperatorName);
    }

    private SecurityOperatorArgs() {}

    private SecurityOperatorArgs(SecurityOperatorArgs $) {
        this.pricingName = $.pricingName;
        this.securityOperatorName = $.securityOperatorName;
    }

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

    public static final class Builder {
        private SecurityOperatorArgs $;

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

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

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

        /**
         * @param pricingName name of the pricing configuration
         * 
         * @return builder
         * 
         */
        public Builder pricingName(String pricingName) {
            return pricingName(Output.of(pricingName));
        }

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

        /**
         * @param securityOperatorName name of the securityOperator
         * 
         * @return builder
         * 
         */
        public Builder securityOperatorName(String securityOperatorName) {
            return securityOperatorName(Output.of(securityOperatorName));
        }

        public SecurityOperatorArgs build() {
            if ($.pricingName == null) {
                throw new MissingRequiredPropertyException("SecurityOperatorArgs", "pricingName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy