Class Server


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20241101")
    public final class Server
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The 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 the Server.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 the Server.Builder, which maintain a set of all explicitly set fields called Server.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Method Detail

      • builder

        public static Server.Builder builder()
        Create a new builder.
      • 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:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel