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

com.pulumi.alicloud.dfs.inputs.AccessGroupState 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.dfs.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 AccessGroupState extends com.pulumi.resources.ResourceArgs {

    public static final AccessGroupState Empty = new AccessGroupState();

    /**
     * The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
     * 
     */
    @Import(name="accessGroupName")
    private @Nullable Output accessGroupName;

    /**
     * @return The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
     * 
     */
    public Optional> accessGroupName() {
        return Optional.ofNullable(this.accessGroupName);
    }

    /**
     * The creation time of the permission group resource.
     * 
     */
    @Import(name="createTime")
    private @Nullable Output createTime;

    /**
     * @return The creation time of the permission group resource.
     * 
     */
    public Optional> createTime() {
        return Optional.ofNullable(this.createTime);
    }

    /**
     * The permission group description.  No more than 32 characters in length.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The permission group description.  No more than 32 characters in length.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The permission group type. Only VPC (VPC) is supported.
     * 
     */
    @Import(name="networkType")
    private @Nullable Output networkType;

    /**
     * @return The permission group type. Only VPC (VPC) is supported.
     * 
     */
    public Optional> networkType() {
        return Optional.ofNullable(this.networkType);
    }

    private AccessGroupState() {}

    private AccessGroupState(AccessGroupState $) {
        this.accessGroupName = $.accessGroupName;
        this.createTime = $.createTime;
        this.description = $.description;
        this.networkType = $.networkType;
    }

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

    public static final class Builder {
        private AccessGroupState $;

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

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

        /**
         * @param accessGroupName The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
         * 
         * @return builder
         * 
         */
        public Builder accessGroupName(@Nullable Output accessGroupName) {
            $.accessGroupName = accessGroupName;
            return this;
        }

        /**
         * @param accessGroupName The permission group name. The naming rules are as follows: The length is 6~64 characters. Globally unique and cannot be an empty string. English letters are supported and can contain numbers, underscores (_), and dashes (-).
         * 
         * @return builder
         * 
         */
        public Builder accessGroupName(String accessGroupName) {
            return accessGroupName(Output.of(accessGroupName));
        }

        /**
         * @param createTime The creation time of the permission group resource.
         * 
         * @return builder
         * 
         */
        public Builder createTime(@Nullable Output createTime) {
            $.createTime = createTime;
            return this;
        }

        /**
         * @param createTime The creation time of the permission group resource.
         * 
         * @return builder
         * 
         */
        public Builder createTime(String createTime) {
            return createTime(Output.of(createTime));
        }

        /**
         * @param description The permission group description.  No more than 32 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The permission group description.  No more than 32 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param networkType The permission group type. Only VPC (VPC) is supported.
         * 
         * @return builder
         * 
         */
        public Builder networkType(@Nullable Output networkType) {
            $.networkType = networkType;
            return this;
        }

        /**
         * @param networkType The permission group type. Only VPC (VPC) is supported.
         * 
         * @return builder
         * 
         */
        public Builder networkType(String networkType) {
            return networkType(Output.of(networkType));
        }

        public AccessGroupState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy