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

com.pulumi.meraki.networks.outputs.GetTopologyLinkLayerItemLinkEndDiscovered 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.outputs.GetTopologyLinkLayerItemLinkEndDiscoveredCdp;
import com.pulumi.meraki.networks.outputs.GetTopologyLinkLayerItemLinkEndDiscoveredLldp;
import java.util.Objects;

@CustomType
public final class GetTopologyLinkLayerItemLinkEndDiscovered {
    private GetTopologyLinkLayerItemLinkEndDiscoveredCdp cdp;
    private GetTopologyLinkLayerItemLinkEndDiscoveredLldp lldp;

    private GetTopologyLinkLayerItemLinkEndDiscovered() {}
    public GetTopologyLinkLayerItemLinkEndDiscoveredCdp cdp() {
        return this.cdp;
    }
    public GetTopologyLinkLayerItemLinkEndDiscoveredLldp lldp() {
        return this.lldp;
    }

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

    public static Builder builder(GetTopologyLinkLayerItemLinkEndDiscovered defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private GetTopologyLinkLayerItemLinkEndDiscoveredCdp cdp;
        private GetTopologyLinkLayerItemLinkEndDiscoveredLldp lldp;
        public Builder() {}
        public Builder(GetTopologyLinkLayerItemLinkEndDiscovered defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cdp = defaults.cdp;
    	      this.lldp = defaults.lldp;
        }

        @CustomType.Setter
        public Builder cdp(GetTopologyLinkLayerItemLinkEndDiscoveredCdp cdp) {
            if (cdp == null) {
              throw new MissingRequiredPropertyException("GetTopologyLinkLayerItemLinkEndDiscovered", "cdp");
            }
            this.cdp = cdp;
            return this;
        }
        @CustomType.Setter
        public Builder lldp(GetTopologyLinkLayerItemLinkEndDiscoveredLldp lldp) {
            if (lldp == null) {
              throw new MissingRequiredPropertyException("GetTopologyLinkLayerItemLinkEndDiscovered", "lldp");
            }
            this.lldp = lldp;
            return this;
        }
        public GetTopologyLinkLayerItemLinkEndDiscovered build() {
            final var _resultValue = new GetTopologyLinkLayerItemLinkEndDiscovered();
            _resultValue.cdp = cdp;
            _resultValue.lldp = lldp;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy