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

com.pulumi.alicloud.cen.inputs.BandwidthLimitState 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.cen.inputs;

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


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

    public static final BandwidthLimitState Empty = new BandwidthLimitState();

    /**
     * The bandwidth configured for the interconnected regions communication.
     * 
     * ->**NOTE:** The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.
     * 
     */
    @Import(name="bandwidthLimit")
    private @Nullable Output bandwidthLimit;

    /**
     * @return The bandwidth configured for the interconnected regions communication.
     * 
     * ->**NOTE:** The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.
     * 
     */
    public Optional> bandwidthLimit() {
        return Optional.ofNullable(this.bandwidthLimit);
    }

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

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

    /**
     * List of the two regions to interconnect. Must be two different regions.
     * 
     */
    @Import(name="regionIds")
    private @Nullable Output> regionIds;

    /**
     * @return List of the two regions to interconnect. Must be two different regions.
     * 
     */
    public Optional>> regionIds() {
        return Optional.ofNullable(this.regionIds);
    }

    private BandwidthLimitState() {}

    private BandwidthLimitState(BandwidthLimitState $) {
        this.bandwidthLimit = $.bandwidthLimit;
        this.instanceId = $.instanceId;
        this.regionIds = $.regionIds;
    }

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

    public static final class Builder {
        private BandwidthLimitState $;

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

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

        /**
         * @param bandwidthLimit The bandwidth configured for the interconnected regions communication.
         * 
         * ->**NOTE:** The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthLimit(@Nullable Output bandwidthLimit) {
            $.bandwidthLimit = bandwidthLimit;
            return this;
        }

        /**
         * @param bandwidthLimit The bandwidth configured for the interconnected regions communication.
         * 
         * ->**NOTE:** The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthLimit(Integer bandwidthLimit) {
            return bandwidthLimit(Output.of(bandwidthLimit));
        }

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

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

        /**
         * @param regionIds List of the two regions to interconnect. Must be two different regions.
         * 
         * @return builder
         * 
         */
        public Builder regionIds(@Nullable Output> regionIds) {
            $.regionIds = regionIds;
            return this;
        }

        /**
         * @param regionIds List of the two regions to interconnect. Must be two different regions.
         * 
         * @return builder
         * 
         */
        public Builder regionIds(List regionIds) {
            return regionIds(Output.of(regionIds));
        }

        /**
         * @param regionIds List of the two regions to interconnect. Must be two different regions.
         * 
         * @return builder
         * 
         */
        public Builder regionIds(String... regionIds) {
            return regionIds(List.of(regionIds));
        }

        public BandwidthLimitState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy