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

com.pulumi.alicloud.cloudconnect.inputs.NetworkGrantState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.cloudconnect.inputs;

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


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

    public static final NetworkGrantState Empty = new NetworkGrantState();

    /**
     * The ID of the CCN instance.
     * 
     */
    @Import(name="ccnId")
    private @Nullable Output ccnId;

    /**
     * @return The ID of the CCN instance.
     * 
     */
    public Optional> ccnId() {
        return Optional.ofNullable(this.ccnId);
    }

    /**
     * The ID of the CEN instance.
     * 
     */
    @Import(name="cenId")
    private @Nullable Output cenId;

    /**
     * @return The ID of the CEN instance.
     * 
     */
    public Optional> cenId() {
        return Optional.ofNullable(this.cenId);
    }

    /**
     * The ID of the account to which the CEN instance belongs.
     * 
     */
    @Import(name="cenUid")
    private @Nullable Output cenUid;

    /**
     * @return The ID of the account to which the CEN instance belongs.
     * 
     */
    public Optional> cenUid() {
        return Optional.ofNullable(this.cenUid);
    }

    private NetworkGrantState() {}

    private NetworkGrantState(NetworkGrantState $) {
        this.ccnId = $.ccnId;
        this.cenId = $.cenId;
        this.cenUid = $.cenUid;
    }

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

    public static final class Builder {
        private NetworkGrantState $;

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

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

        /**
         * @param ccnId The ID of the CCN instance.
         * 
         * @return builder
         * 
         */
        public Builder ccnId(@Nullable Output ccnId) {
            $.ccnId = ccnId;
            return this;
        }

        /**
         * @param ccnId The ID of the CCN instance.
         * 
         * @return builder
         * 
         */
        public Builder ccnId(String ccnId) {
            return ccnId(Output.of(ccnId));
        }

        /**
         * @param cenId The ID of the CEN instance.
         * 
         * @return builder
         * 
         */
        public Builder cenId(@Nullable Output cenId) {
            $.cenId = cenId;
            return this;
        }

        /**
         * @param cenId The ID of the CEN instance.
         * 
         * @return builder
         * 
         */
        public Builder cenId(String cenId) {
            return cenId(Output.of(cenId));
        }

        /**
         * @param cenUid The ID of the account to which the CEN instance belongs.
         * 
         * @return builder
         * 
         */
        public Builder cenUid(@Nullable Output cenUid) {
            $.cenUid = cenUid;
            return this;
        }

        /**
         * @param cenUid The ID of the account to which the CEN instance belongs.
         * 
         * @return builder
         * 
         */
        public Builder cenUid(String cenUid) {
            return cenUid(Output.of(cenUid));
        }

        public NetworkGrantState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy