Package com.oracle.bmc.datacc.model
Class InfrastructureServer
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacc.model.InfrastructureServer
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251101") public final class InfrastructureServer extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDatabase Infrastructure Server details.
Note: Objects should always be created or deserialized using theInfrastructureServer.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 theInfrastructureServer.Builder, which maintain a set of all explicitly set fields calledInfrastructureServer.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 classInfrastructureServer.Builder
-
Constructor Summary
Constructors Constructor Description InfrastructureServer(String id, String serverName, String serverIpAddress, String ilomName, String ilomIpAddress, InfrastructureServerLifecycleState lifecycleState, Integer baseVmCount, Integer instanceVmCount, ComputeCapacityDetails computeCapacity)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfrastructureServer.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetBaseVmCount()Number of database virtual machines hosted on the server.ComputeCapacityDetailsgetComputeCapacity()StringgetId()The OCID of the Oracle Data Server of Infrastructure.StringgetIlomIpAddress()Database Infrastructure Server ILOM IP address.StringgetIlomName()Database Infrastructure Server ILOM name.IntegergetInstanceVmCount()Number of instances hosted on the server.InfrastructureServerLifecycleStategetLifecycleState()The current state of the Database Infrastructure server.StringgetServerIpAddress()Database Infrastructure Server IP address.StringgetServerName()Database Infrastructure Server name.inthashCode()InfrastructureServer.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
InfrastructureServer
@Deprecated @ConstructorProperties({"id","serverName","serverIpAddress","ilomName","ilomIpAddress","lifecycleState","baseVmCount","instanceVmCount","computeCapacity"}) public InfrastructureServer(String id, String serverName, String serverIpAddress, String ilomName, String ilomIpAddress, InfrastructureServerLifecycleState lifecycleState, Integer baseVmCount, Integer instanceVmCount, ComputeCapacityDetails computeCapacity)
Deprecated.
-
-
Method Detail
-
builder
public static InfrastructureServer.Builder builder()
Create a new builder.
-
toBuilder
public InfrastructureServer.Builder toBuilder()
-
getId
public String getId()
The OCID of the Oracle Data Server of Infrastructure.- Returns:
- the value
-
getServerName
public String getServerName()
Database Infrastructure Server name.- Returns:
- the value
-
getServerIpAddress
public String getServerIpAddress()
Database Infrastructure Server IP address.- Returns:
- the value
-
getIlomName
public String getIlomName()
Database Infrastructure Server ILOM name.- Returns:
- the value
-
getIlomIpAddress
public String getIlomIpAddress()
Database Infrastructure Server ILOM IP address.- Returns:
- the value
-
getLifecycleState
public InfrastructureServerLifecycleState getLifecycleState()
The current state of the Database Infrastructure server.- Returns:
- the value
-
getBaseVmCount
public Integer getBaseVmCount()
Number of database virtual machines hosted on the server.- Returns:
- the value
-
getInstanceVmCount
public Integer getInstanceVmCount()
Number of instances hosted on the server.- Returns:
- the value
-
getComputeCapacity
public ComputeCapacityDetails getComputeCapacity()
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-