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

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

    public static final GroupPolicyAttachmentState Empty = new GroupPolicyAttachmentState();

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

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

    /**
     * Name of the RAM policy. 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="policyName")
    private @Nullable Output policyName;

    /**
     * @return Name of the RAM policy. 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> policyName() {
        return Optional.ofNullable(this.policyName);
    }

    /**
     * Type of the RAM policy. It must be `Custom` or `System`.
     * 
     */
    @Import(name="policyType")
    private @Nullable Output policyType;

    /**
     * @return Type of the RAM policy. It must be `Custom` or `System`.
     * 
     */
    public Optional> policyType() {
        return Optional.ofNullable(this.policyType);
    }

    private GroupPolicyAttachmentState() {}

    private GroupPolicyAttachmentState(GroupPolicyAttachmentState $) {
        this.groupName = $.groupName;
        this.policyName = $.policyName;
        this.policyType = $.policyType;
    }

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

    public static final class Builder {
        private GroupPolicyAttachmentState $;

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

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

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

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

        /**
         * @param policyName Name of the RAM policy. 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 policyName(@Nullable Output policyName) {
            $.policyName = policyName;
            return this;
        }

        /**
         * @param policyName Name of the RAM policy. 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 policyName(String policyName) {
            return policyName(Output.of(policyName));
        }

        /**
         * @param policyType Type of the RAM policy. It must be `Custom` or `System`.
         * 
         * @return builder
         * 
         */
        public Builder policyType(@Nullable Output policyType) {
            $.policyType = policyType;
            return this;
        }

        /**
         * @param policyType Type of the RAM policy. It must be `Custom` or `System`.
         * 
         * @return builder
         * 
         */
        public Builder policyType(String policyType) {
            return policyType(Output.of(policyType));
        }

        public GroupPolicyAttachmentState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy