Package com.oracle.bmc.mngdmac.model
Class NodeConfig
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mngdmac.model.NodeConfig
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250320") public final class NodeConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Represents a MacDevice resource.
Note: Objects should always be created or deserialized using theNodeConfig.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theNodeConfig.Builder
, which maintain a set of all explicitly set fields calledNodeConfig.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeConfig.Builder
-
Constructor Summary
Constructors Constructor Description NodeConfig(String serialNumber, String macAddress, String switchHostname, String switchEthPort, String ipKvmHostname, Integer ipKvmPortNumber, String pduHostname, Integer pduPort, Integer buildVlanId, String buildIpAddress, Integer prodVlanId, String prodIpAddress, String rackLocation, String chipSet, String osVersion, String macOrderId, String tenancyId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeConfig.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBuildIpAddress()
The buildIpAddress.Integer
getBuildVlanId()
The buildVlanId.String
getChipSet()
The chipSetn.String
getIpKvmHostname()
The ipKvmHostname.Integer
getIpKvmPortNumber()
The ipKvmPortNumber.String
getMacAddress()
The macAddress.String
getMacOrderId()
The macOrderId.String
getOsVersion()
The osVersion.String
getPduHostname()
The pduHostname.Integer
getPduPort()
The pduPort.String
getProdIpAddress()
The prodIpAddress.Integer
getProdVlanId()
The prodVlanId.String
getRackLocation()
The rackLocation.String
getSerialNumber()
The serial number of the MacDevice.String
getSwitchEthPort()
The switchEthPort.String
getSwitchHostname()
The switchHostname.String
getTenancyId()
The tenancyId.int
hashCode()
NodeConfig.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
NodeConfig
@Deprecated @ConstructorProperties({"serialNumber","macAddress","switchHostname","switchEthPort","ipKvmHostname","ipKvmPortNumber","pduHostname","pduPort","buildVlanId","buildIpAddress","prodVlanId","prodIpAddress","rackLocation","chipSet","osVersion","macOrderId","tenancyId"}) public NodeConfig(String serialNumber, String macAddress, String switchHostname, String switchEthPort, String ipKvmHostname, Integer ipKvmPortNumber, String pduHostname, Integer pduPort, Integer buildVlanId, String buildIpAddress, Integer prodVlanId, String prodIpAddress, String rackLocation, String chipSet, String osVersion, String macOrderId, String tenancyId)
Deprecated.
-
-
Method Detail
-
builder
public static NodeConfig.Builder builder()
Create a new builder.
-
toBuilder
public NodeConfig.Builder toBuilder()
-
getSerialNumber
public String getSerialNumber()
The serial number of the MacDevice.- Returns:
- the value
-
getMacAddress
public String getMacAddress()
The macAddress.- Returns:
- the value
-
getSwitchHostname
public String getSwitchHostname()
The switchHostname.- Returns:
- the value
-
getSwitchEthPort
public String getSwitchEthPort()
The switchEthPort.- Returns:
- the value
-
getIpKvmHostname
public String getIpKvmHostname()
The ipKvmHostname.- Returns:
- the value
-
getIpKvmPortNumber
public Integer getIpKvmPortNumber()
The ipKvmPortNumber.- Returns:
- the value
-
getPduHostname
public String getPduHostname()
The pduHostname.- Returns:
- the value
-
getPduPort
public Integer getPduPort()
The pduPort.- Returns:
- the value
-
getBuildVlanId
public Integer getBuildVlanId()
The buildVlanId.- Returns:
- the value
-
getBuildIpAddress
public String getBuildIpAddress()
The buildIpAddress.- Returns:
- the value
-
getProdVlanId
public Integer getProdVlanId()
The prodVlanId.- Returns:
- the value
-
getProdIpAddress
public String getProdIpAddress()
The prodIpAddress.- Returns:
- the value
-
getRackLocation
public String getRackLocation()
The rackLocation.- Returns:
- the value
-
getChipSet
public String getChipSet()
The chipSetn.- Returns:
- the value
-
getOsVersion
public String getOsVersion()
The osVersion.- Returns:
- the value
-
getMacOrderId
public String getMacOrderId()
The macOrderId.- Returns:
- the value
-
getTenancyId
public String getTenancyId()
The tenancyId.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-