com.pulumi.meraki.organizations.outputs.GetWirelessDevicesEthernetStatusesItemPort 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.organizations.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.organizations.outputs.GetWirelessDevicesEthernetStatusesItemPortLinkNegotiation;
import com.pulumi.meraki.organizations.outputs.GetWirelessDevicesEthernetStatusesItemPortPoe;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetWirelessDevicesEthernetStatusesItemPort {
/**
* @return Link negotiation details object for the port
*
*/
private GetWirelessDevicesEthernetStatusesItemPortLinkNegotiation linkNegotiation;
/**
* @return Label of the port
*
*/
private String name;
/**
* @return PoE details object for the port
*
*/
private GetWirelessDevicesEthernetStatusesItemPortPoe poe;
private GetWirelessDevicesEthernetStatusesItemPort() {}
/**
* @return Link negotiation details object for the port
*
*/
public GetWirelessDevicesEthernetStatusesItemPortLinkNegotiation linkNegotiation() {
return this.linkNegotiation;
}
/**
* @return Label of the port
*
*/
public String name() {
return this.name;
}
/**
* @return PoE details object for the port
*
*/
public GetWirelessDevicesEthernetStatusesItemPortPoe poe() {
return this.poe;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWirelessDevicesEthernetStatusesItemPort defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private GetWirelessDevicesEthernetStatusesItemPortLinkNegotiation linkNegotiation;
private String name;
private GetWirelessDevicesEthernetStatusesItemPortPoe poe;
public Builder() {}
public Builder(GetWirelessDevicesEthernetStatusesItemPort defaults) {
Objects.requireNonNull(defaults);
this.linkNegotiation = defaults.linkNegotiation;
this.name = defaults.name;
this.poe = defaults.poe;
}
@CustomType.Setter
public Builder linkNegotiation(GetWirelessDevicesEthernetStatusesItemPortLinkNegotiation linkNegotiation) {
if (linkNegotiation == null) {
throw new MissingRequiredPropertyException("GetWirelessDevicesEthernetStatusesItemPort", "linkNegotiation");
}
this.linkNegotiation = linkNegotiation;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWirelessDevicesEthernetStatusesItemPort", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder poe(GetWirelessDevicesEthernetStatusesItemPortPoe poe) {
if (poe == null) {
throw new MissingRequiredPropertyException("GetWirelessDevicesEthernetStatusesItemPort", "poe");
}
this.poe = poe;
return this;
}
public GetWirelessDevicesEthernetStatusesItemPort build() {
final var _resultValue = new GetWirelessDevicesEthernetStatusesItemPort();
_resultValue.linkNegotiation = linkNegotiation;
_resultValue.name = name;
_resultValue.poe = poe;
return _resultValue;
}
}
}