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

com.pulumi.alicloud.ram.GroupArgs 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.ram;

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


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

    public static final GroupArgs Empty = new GroupArgs();

    /**
     * Comment of the RAM group. This parameter can have a string of 1 to 128 characters.
     * 
     */
    @Import(name="comments")
    private @Nullable Output comments;

    /**
     * @return Comment of the RAM group. This parameter can have a string of 1 to 128 characters.
     * 
     */
    public Optional> comments() {
        return Optional.ofNullable(this.comments);
    }

    /**
     * This parameter is used for resource destroy. Default value is `false`.
     * 
     */
    @Import(name="force")
    private @Nullable Output force;

    /**
     * @return This parameter is used for resource destroy. Default value is `false`.
     * 
     */
    public Optional> force() {
        return Optional.ofNullable(this.force);
    }

    /**
     * Name of the RAM group. This name can have a string of 1 to 128 characters, must contain only alphanumeric characters or hyphen "-", and must not begin with a hyphen.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the RAM group. This name can have a string of 1 to 128 characters, must contain only alphanumeric characters or hyphen "-", and must not begin with a hyphen.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private GroupArgs() {}

    private GroupArgs(GroupArgs $) {
        this.comments = $.comments;
        this.force = $.force;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GroupArgs $;

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

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

        /**
         * @param comments Comment of the RAM group. This parameter can have a string of 1 to 128 characters.
         * 
         * @return builder
         * 
         */
        public Builder comments(@Nullable Output comments) {
            $.comments = comments;
            return this;
        }

        /**
         * @param comments Comment of the RAM group. This parameter can have a string of 1 to 128 characters.
         * 
         * @return builder
         * 
         */
        public Builder comments(String comments) {
            return comments(Output.of(comments));
        }

        /**
         * @param force This parameter is used for resource destroy. Default value is `false`.
         * 
         * @return builder
         * 
         */
        public Builder force(@Nullable Output force) {
            $.force = force;
            return this;
        }

        /**
         * @param force This parameter is used for resource destroy. Default value is `false`.
         * 
         * @return builder
         * 
         */
        public Builder force(Boolean force) {
            return force(Output.of(force));
        }

        /**
         * @param name Name of the RAM group. This name can have a string of 1 to 128 characters, must contain only alphanumeric characters or hyphen "-", and must not begin with a hyphen.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the RAM group. This name can have a string of 1 to 128 characters, must contain only alphanumeric characters or hyphen "-", and must not begin with a hyphen.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public GroupArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy