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

com.pulumi.azurenative.managednetworkfabric.inputs.IsolationDomainPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.azurenative.managednetworkfabric.inputs;

import com.pulumi.azurenative.managednetworkfabric.enums.Encapsulation;
import com.pulumi.core.Either;
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;


/**
 * Isolation Domain Properties.
 * 
 */
public final class IsolationDomainPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final IsolationDomainPropertiesArgs Empty = new IsolationDomainPropertiesArgs();

    /**
     * Type of encapsulation.
     * 
     */
    @Import(name="encapsulation")
    private @Nullable Output> encapsulation;

    /**
     * @return Type of encapsulation.
     * 
     */
    public Optional>> encapsulation() {
        return Optional.ofNullable(this.encapsulation);
    }

    /**
     * List of Neighbor Group IDs.
     * 
     */
    @Import(name="neighborGroupIds")
    private @Nullable Output> neighborGroupIds;

    /**
     * @return List of Neighbor Group IDs.
     * 
     */
    public Optional>> neighborGroupIds() {
        return Optional.ofNullable(this.neighborGroupIds);
    }

    private IsolationDomainPropertiesArgs() {}

    private IsolationDomainPropertiesArgs(IsolationDomainPropertiesArgs $) {
        this.encapsulation = $.encapsulation;
        this.neighborGroupIds = $.neighborGroupIds;
    }

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

    public static final class Builder {
        private IsolationDomainPropertiesArgs $;

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

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

        /**
         * @param encapsulation Type of encapsulation.
         * 
         * @return builder
         * 
         */
        public Builder encapsulation(@Nullable Output> encapsulation) {
            $.encapsulation = encapsulation;
            return this;
        }

        /**
         * @param encapsulation Type of encapsulation.
         * 
         * @return builder
         * 
         */
        public Builder encapsulation(Either encapsulation) {
            return encapsulation(Output.of(encapsulation));
        }

        /**
         * @param encapsulation Type of encapsulation.
         * 
         * @return builder
         * 
         */
        public Builder encapsulation(String encapsulation) {
            return encapsulation(Either.ofLeft(encapsulation));
        }

        /**
         * @param encapsulation Type of encapsulation.
         * 
         * @return builder
         * 
         */
        public Builder encapsulation(Encapsulation encapsulation) {
            return encapsulation(Either.ofRight(encapsulation));
        }

        /**
         * @param neighborGroupIds List of Neighbor Group IDs.
         * 
         * @return builder
         * 
         */
        public Builder neighborGroupIds(@Nullable Output> neighborGroupIds) {
            $.neighborGroupIds = neighborGroupIds;
            return this;
        }

        /**
         * @param neighborGroupIds List of Neighbor Group IDs.
         * 
         * @return builder
         * 
         */
        public Builder neighborGroupIds(List neighborGroupIds) {
            return neighborGroupIds(Output.of(neighborGroupIds));
        }

        /**
         * @param neighborGroupIds List of Neighbor Group IDs.
         * 
         * @return builder
         * 
         */
        public Builder neighborGroupIds(String... neighborGroupIds) {
            return neighborGroupIds(List.of(neighborGroupIds));
        }

        public IsolationDomainPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy