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

com.pulumi.meraki.networks.outputs.AppliancePrefixesDelegatedStaticsOrigin Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks.outputs;

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

@CustomType
public final class AppliancePrefixesDelegatedStaticsOrigin {
    /**
     * @return Uplink provided or independent
     * 
     */
    private @Nullable List interfaces;
    /**
     * @return Origin type
     * 
     */
    private @Nullable String type;

    private AppliancePrefixesDelegatedStaticsOrigin() {}
    /**
     * @return Uplink provided or independent
     * 
     */
    public List interfaces() {
        return this.interfaces == null ? List.of() : this.interfaces;
    }
    /**
     * @return Origin type
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(AppliancePrefixesDelegatedStaticsOrigin defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List interfaces;
        private @Nullable String type;
        public Builder() {}
        public Builder(AppliancePrefixesDelegatedStaticsOrigin defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.interfaces = defaults.interfaces;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder interfaces(@Nullable List interfaces) {

            this.interfaces = interfaces;
            return this;
        }
        public Builder interfaces(String... interfaces) {
            return interfaces(List.of(interfaces));
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public AppliancePrefixesDelegatedStaticsOrigin build() {
            final var _resultValue = new AppliancePrefixesDelegatedStaticsOrigin();
            _resultValue.interfaces = interfaces;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy