sdk/java/src/main/java/com/pulumi/ovh/Dedicated/CephAclArgs.java
// *** 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.ovh.Dedicated;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final CephAclArgs Empty = new CephAclArgs();

    /**
     * The network mask to apply
     * 
     */
    @Import(name="netmask", required=true)
    private Output<String> netmask;

    /**
     * @return The network mask to apply
     * 
     */
    public Output<String> netmask() {
        return this.netmask;
    }

    /**
     * The network IP to authorize
     * 
     */
    @Import(name="network", required=true)
    private Output<String> network;

    /**
     * @return The network IP to authorize
     * 
     */
    public Output<String> network() {
        return this.network;
    }

    /**
     * The internal name of your dedicated CEPH
     * 
     */
    @Import(name="serviceName", required=true)
    private Output<String> serviceName;

    /**
     * @return The internal name of your dedicated CEPH
     * 
     */
    public Output<String> serviceName() {
        return this.serviceName;
    }

    private CephAclArgs() {}

    private CephAclArgs(CephAclArgs $) {
        this.netmask = $.netmask;
        this.network = $.network;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private CephAclArgs $;

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

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

        /**
         * @param netmask The network mask to apply
         * 
         * @return builder
         * 
         */
        public Builder netmask(Output<String> netmask) {
            $.netmask = netmask;
            return this;
        }

        /**
         * @param netmask The network mask to apply
         * 
         * @return builder
         * 
         */
        public Builder netmask(String netmask) {
            return netmask(Output.of(netmask));
        }

        /**
         * @param network The network IP to authorize
         * 
         * @return builder
         * 
         */
        public Builder network(Output<String> network) {
            $.network = network;
            return this;
        }

        /**
         * @param network The network IP to authorize
         * 
         * @return builder
         * 
         */
        public Builder network(String network) {
            return network(Output.of(network));
        }

        /**
         * @param serviceName The internal name of your dedicated CEPH
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output<String> serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The internal name of your dedicated CEPH
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        public CephAclArgs build() {
            $.netmask = Objects.requireNonNull($.netmask, "expected parameter 'netmask' to be non-null");
            $.network = Objects.requireNonNull($.network, "expected parameter 'network' to be non-null");
            $.serviceName = Objects.requireNonNull($.serviceName, "expected parameter 'serviceName' to be non-null");
            return $;
        }
    }

}
