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

com.pulumi.alicloud.pvtz.inputs.ZoneUserInfoArgs 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.pvtz.inputs;

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


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

    public static final ZoneUserInfoArgs Empty = new ZoneUserInfoArgs();

    /**
     * The list of the region IDs.
     * 
     */
    @Import(name="regionIds")
    private @Nullable Output> regionIds;

    /**
     * @return The list of the region IDs.
     * 
     */
    public Optional>> regionIds() {
        return Optional.ofNullable(this.regionIds);
    }

    /**
     * The user ID belonging to the region is used for cross-account synchronization scenarios.
     * 
     */
    @Import(name="userId")
    private @Nullable Output userId;

    /**
     * @return The user ID belonging to the region is used for cross-account synchronization scenarios.
     * 
     */
    public Optional> userId() {
        return Optional.ofNullable(this.userId);
    }

    private ZoneUserInfoArgs() {}

    private ZoneUserInfoArgs(ZoneUserInfoArgs $) {
        this.regionIds = $.regionIds;
        this.userId = $.userId;
    }

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

    public static final class Builder {
        private ZoneUserInfoArgs $;

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

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

        /**
         * @param regionIds The list of the region IDs.
         * 
         * @return builder
         * 
         */
        public Builder regionIds(@Nullable Output> regionIds) {
            $.regionIds = regionIds;
            return this;
        }

        /**
         * @param regionIds The list of the region IDs.
         * 
         * @return builder
         * 
         */
        public Builder regionIds(List regionIds) {
            return regionIds(Output.of(regionIds));
        }

        /**
         * @param regionIds The list of the region IDs.
         * 
         * @return builder
         * 
         */
        public Builder regionIds(String... regionIds) {
            return regionIds(List.of(regionIds));
        }

        /**
         * @param userId The user ID belonging to the region is used for cross-account synchronization scenarios.
         * 
         * @return builder
         * 
         */
        public Builder userId(@Nullable Output userId) {
            $.userId = userId;
            return this;
        }

        /**
         * @param userId The user ID belonging to the region is used for cross-account synchronization scenarios.
         * 
         * @return builder
         * 
         */
        public Builder userId(String userId) {
            return userId(Output.of(userId));
        }

        public ZoneUserInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy