Package com.oracle.bmc.wlms.model
Class Server
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.wlms.model.Server
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20241101") public final class Server extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe server object that is returned by the API to get a specific server in a WebLogic domain.
Note: Objects should always be created or deserialized using theServer.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 theServer.Builder, which maintain a set of all explicitly set fields calledServer.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 classServer.Builderstatic classServer.LatestPatchesStatusWhether or not the server has installed the latest patches.
-
Constructor Summary
Constructors Constructor Description Server(String id, String name, Boolean isAdmin, String status, Integer restartOrder, String middlewarePath, String middlewareType, String weblogicVersion, String jdkPath, String jdkVersion, String wlsDomainName, String wlsDomainId, String wlsDomainPath, Server.LatestPatchesStatus latestPatchesStatus, PatchReadinessStatus patchReadinessStatus, String hostName, String managedInstanceId, Date timeCreated, Date timeUpdated)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Server.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetHostName()The name of the server.StringgetId()The unique identifier of the server.BooleangetIsAdmin()Whether or not the server is an admin node.StringgetJdkPath()The JDK path on the server.StringgetJdkVersion()The JDK version on the server.Server.LatestPatchesStatusgetLatestPatchesStatus()Whether or not the server has installed the latest patches.StringgetManagedInstanceId()The managed instance ID of the server.StringgetMiddlewarePath()The middleware path on the server.StringgetMiddlewareType()The middleware type on the server.StringgetName()The name of the server.PatchReadinessStatusgetPatchReadinessStatus()The patch readiness status of the server.IntegergetRestartOrder()The restart order assigned to the server.StringgetStatus()The status of the server.DategetTimeCreated()The date and time the server was first reported (in RFC 3339 format).DategetTimeUpdated()The date and time the server was last reported (in RFC 3339 format).StringgetWeblogicVersion()The version of the WebLogic domain of the serverStringgetWlsDomainId()The ID of the WebLogic domain to which the server belongs.StringgetWlsDomainName()The name of the WebLogic domain to which the server belongs.StringgetWlsDomainPath()The path of the WebLogic domain to which the server belongs.inthashCode()Server.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Server
@Deprecated @ConstructorProperties({"id","name","isAdmin","status","restartOrder","middlewarePath","middlewareType","weblogicVersion","jdkPath","jdkVersion","wlsDomainName","wlsDomainId","wlsDomainPath","latestPatchesStatus","patchReadinessStatus","hostName","managedInstanceId","timeCreated","timeUpdated"}) public Server(String id, String name, Boolean isAdmin, String status, Integer restartOrder, String middlewarePath, String middlewareType, String weblogicVersion, String jdkPath, String jdkVersion, String wlsDomainName, String wlsDomainId, String wlsDomainPath, Server.LatestPatchesStatus latestPatchesStatus, PatchReadinessStatus patchReadinessStatus, String hostName, String managedInstanceId, Date timeCreated, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static Server.Builder builder()
Create a new builder.
-
toBuilder
public Server.Builder toBuilder()
-
getId
public String getId()
The unique identifier of the server.*Note:** Not an [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Returns:
- the value
-
getName
public String getName()
The name of the server.- Returns:
- the value
-
getIsAdmin
public Boolean getIsAdmin()
Whether or not the server is an admin node.- Returns:
- the value
-
getStatus
public String getStatus()
The status of the server.- Returns:
- the value
-
getRestartOrder
public Integer getRestartOrder()
The restart order assigned to the server.- Returns:
- the value
-
getMiddlewarePath
public String getMiddlewarePath()
The middleware path on the server.- Returns:
- the value
-
getMiddlewareType
public String getMiddlewareType()
The middleware type on the server.- Returns:
- the value
-
getWeblogicVersion
public String getWeblogicVersion()
The version of the WebLogic domain of the server- Returns:
- the value
-
getJdkPath
public String getJdkPath()
The JDK path on the server.- Returns:
- the value
-
getJdkVersion
public String getJdkVersion()
The JDK version on the server.- Returns:
- the value
-
getWlsDomainName
public String getWlsDomainName()
The name of the WebLogic domain to which the server belongs.- Returns:
- the value
-
getWlsDomainId
public String getWlsDomainId()
The ID of the WebLogic domain to which the server belongs.- Returns:
- the value
-
getWlsDomainPath
public String getWlsDomainPath()
The path of the WebLogic domain to which the server belongs.- Returns:
- the value
-
getLatestPatchesStatus
public Server.LatestPatchesStatus getLatestPatchesStatus()
Whether or not the server has installed the latest patches.- Returns:
- the value
-
getPatchReadinessStatus
public PatchReadinessStatus getPatchReadinessStatus()
The patch readiness status of the server.- Returns:
- the value
-
getHostName
public String getHostName()
The name of the server.- Returns:
- the value
-
getManagedInstanceId
public String getManagedInstanceId()
The managed instance ID of the server.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the server was first reported (in RFC 3339 format).Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the server was last reported (in RFC 3339 format).Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
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
-
-