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

com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointLocationArgs Maven / Gradle / Ivy

There is a newer version: 0.19.0
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.equinix.pulumi.fabric.inputs;

import com.equinix.pulumi.enums.Metro;
import com.pulumi.core.Either;
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 ConnectionASideAccessPointLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectionASideAccessPointLocationArgs Empty = new ConnectionASideAccessPointLocationArgs();

    /**
     * IBX Code
     * 
     */
    @Import(name="ibx")
    private @Nullable Output ibx;

    /**
     * @return IBX Code
     * 
     */
    public Optional> ibx() {
        return Optional.ofNullable(this.ibx);
    }

    /**
     * Access point metro code
     * 
     */
    @Import(name="metroCode")
    private @Nullable Output> metroCode;

    /**
     * @return Access point metro code
     * 
     */
    public Optional>> metroCode() {
        return Optional.ofNullable(this.metroCode);
    }

    /**
     * Access point metro name
     * 
     */
    @Import(name="metroName")
    private @Nullable Output metroName;

    /**
     * @return Access point metro name
     * 
     */
    public Optional> metroName() {
        return Optional.ofNullable(this.metroName);
    }

    /**
     * Access point region
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return Access point region
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    private ConnectionASideAccessPointLocationArgs() {}

    private ConnectionASideAccessPointLocationArgs(ConnectionASideAccessPointLocationArgs $) {
        this.ibx = $.ibx;
        this.metroCode = $.metroCode;
        this.metroName = $.metroName;
        this.region = $.region;
    }

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

    public static final class Builder {
        private ConnectionASideAccessPointLocationArgs $;

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

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

        /**
         * @param ibx IBX Code
         * 
         * @return builder
         * 
         */
        public Builder ibx(@Nullable Output ibx) {
            $.ibx = ibx;
            return this;
        }

        /**
         * @param ibx IBX Code
         * 
         * @return builder
         * 
         */
        public Builder ibx(String ibx) {
            return ibx(Output.of(ibx));
        }

        /**
         * @param metroCode Access point metro code
         * 
         * @return builder
         * 
         */
        public Builder metroCode(@Nullable Output> metroCode) {
            $.metroCode = metroCode;
            return this;
        }

        /**
         * @param metroCode Access point metro code
         * 
         * @return builder
         * 
         */
        public Builder metroCode(Either metroCode) {
            return metroCode(Output.of(metroCode));
        }

        /**
         * @param metroCode Access point metro code
         * 
         * @return builder
         * 
         */
        public Builder metroCode(String metroCode) {
            return metroCode(Either.ofLeft(metroCode));
        }

        /**
         * @param metroCode Access point metro code
         * 
         * @return builder
         * 
         */
        public Builder metroCode(Metro metroCode) {
            return metroCode(Either.ofRight(metroCode));
        }

        /**
         * @param metroName Access point metro name
         * 
         * @return builder
         * 
         */
        public Builder metroName(@Nullable Output metroName) {
            $.metroName = metroName;
            return this;
        }

        /**
         * @param metroName Access point metro name
         * 
         * @return builder
         * 
         */
        public Builder metroName(String metroName) {
            return metroName(Output.of(metroName));
        }

        /**
         * @param region Access point region
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Access point region
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        public ConnectionASideAccessPointLocationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy