com.pulumi.meraki.devices.outputs.GetLldpCdpItemPorts 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.devices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.devices.outputs.GetLldpCdpItemPortsStatus12;
import com.pulumi.meraki.devices.outputs.GetLldpCdpItemPortsStatus8;
import java.util.Objects;
@CustomType
public final class GetLldpCdpItemPorts {
private GetLldpCdpItemPortsStatus12 status12;
private GetLldpCdpItemPortsStatus8 status8;
private GetLldpCdpItemPorts() {}
public GetLldpCdpItemPortsStatus12 status12() {
return this.status12;
}
public GetLldpCdpItemPortsStatus8 status8() {
return this.status8;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLldpCdpItemPorts defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private GetLldpCdpItemPortsStatus12 status12;
private GetLldpCdpItemPortsStatus8 status8;
public Builder() {}
public Builder(GetLldpCdpItemPorts defaults) {
Objects.requireNonNull(defaults);
this.status12 = defaults.status12;
this.status8 = defaults.status8;
}
@CustomType.Setter
public Builder status12(GetLldpCdpItemPortsStatus12 status12) {
if (status12 == null) {
throw new MissingRequiredPropertyException("GetLldpCdpItemPorts", "status12");
}
this.status12 = status12;
return this;
}
@CustomType.Setter
public Builder status8(GetLldpCdpItemPortsStatus8 status8) {
if (status8 == null) {
throw new MissingRequiredPropertyException("GetLldpCdpItemPorts", "status8");
}
this.status8 = status8;
return this;
}
public GetLldpCdpItemPorts build() {
final var _resultValue = new GetLldpCdpItemPorts();
_resultValue.status12 = status12;
_resultValue.status8 = status8;
return _resultValue;
}
}
}