com.pulumi.meraki.networks.outputs.GetTopologyLinkLayerItemLinkEndDiscovered Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki resources
// *** 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;
}
}
}