
com.pulumi.azurenative.networkcloud.outputs.LldpNeighborResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.networkcloud.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class LldpNeighborResponse {
/**
* @return The descriptive information about the port on the connected device.
*
*/
private String portDescription;
/**
* @return The system-assigned name of the port on the connected device.
*
*/
private String portName;
/**
* @return The descriptive information about the connected device.
*
*/
private String systemDescription;
/**
* @return The system-assigned name of the connected device.
*
*/
private String systemName;
private LldpNeighborResponse() {}
/**
* @return The descriptive information about the port on the connected device.
*
*/
public String portDescription() {
return this.portDescription;
}
/**
* @return The system-assigned name of the port on the connected device.
*
*/
public String portName() {
return this.portName;
}
/**
* @return The descriptive information about the connected device.
*
*/
public String systemDescription() {
return this.systemDescription;
}
/**
* @return The system-assigned name of the connected device.
*
*/
public String systemName() {
return this.systemName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LldpNeighborResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String portDescription;
private String portName;
private String systemDescription;
private String systemName;
public Builder() {}
public Builder(LldpNeighborResponse defaults) {
Objects.requireNonNull(defaults);
this.portDescription = defaults.portDescription;
this.portName = defaults.portName;
this.systemDescription = defaults.systemDescription;
this.systemName = defaults.systemName;
}
@CustomType.Setter
public Builder portDescription(String portDescription) {
if (portDescription == null) {
throw new MissingRequiredPropertyException("LldpNeighborResponse", "portDescription");
}
this.portDescription = portDescription;
return this;
}
@CustomType.Setter
public Builder portName(String portName) {
if (portName == null) {
throw new MissingRequiredPropertyException("LldpNeighborResponse", "portName");
}
this.portName = portName;
return this;
}
@CustomType.Setter
public Builder systemDescription(String systemDescription) {
if (systemDescription == null) {
throw new MissingRequiredPropertyException("LldpNeighborResponse", "systemDescription");
}
this.systemDescription = systemDescription;
return this;
}
@CustomType.Setter
public Builder systemName(String systemName) {
if (systemName == null) {
throw new MissingRequiredPropertyException("LldpNeighborResponse", "systemName");
}
this.systemName = systemName;
return this;
}
public LldpNeighborResponse build() {
final var _resultValue = new LldpNeighborResponse();
_resultValue.portDescription = portDescription;
_resultValue.portName = portName;
_resultValue.systemDescription = systemDescription;
_resultValue.systemName = systemName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy