Package com.oracle.bmc.wlms.model
Class Server.Builder
- java.lang.Object
-
- com.oracle.bmc.wlms.model.Server.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serverbuild()Server.Buildercopy(Server model)Server.BuilderhostName(String hostName)The name of the server.Server.Builderid(String id)The unique identifier of the server.Server.BuilderisAdmin(Boolean isAdmin)Whether or not the server is an admin node.Server.BuilderjdkPath(String jdkPath)The JDK path on the server.Server.BuilderjdkVersion(String jdkVersion)The JDK version on the server.Server.BuilderlatestPatchesStatus(Server.LatestPatchesStatus latestPatchesStatus)Whether or not the server has installed the latest patches.Server.BuildermanagedInstanceId(String managedInstanceId)The managed instance ID of the server.Server.BuildermiddlewarePath(String middlewarePath)The middleware path on the server.Server.BuildermiddlewareType(String middlewareType)The middleware type on the server.Server.Buildername(String name)The name of the server.Server.BuilderpatchReadinessStatus(PatchReadinessStatus patchReadinessStatus)The patch readiness status of the server.Server.BuilderrestartOrder(Integer restartOrder)The restart order assigned to the server.Server.Builderstatus(String status)The status of the server.Server.BuildertimeCreated(Date timeCreated)The date and time the server was first reported (in RFC 3339 format).Server.BuildertimeUpdated(Date timeUpdated)The date and time the server was last reported (in RFC 3339 format).Server.BuilderweblogicVersion(String weblogicVersion)The version of the WebLogic domain of the serverServer.BuilderwlsDomainId(String wlsDomainId)The ID of the WebLogic domain to which the server belongs.Server.BuilderwlsDomainName(String wlsDomainName)The name of the WebLogic domain to which the server belongs.Server.BuilderwlsDomainPath(String wlsDomainPath)The path of the WebLogic domain to which the server belongs.
-
-
-
Method Detail
-
id
public Server.Builder id(String id)
The unique identifier of the server.*Note:** Not an [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Parameters:
id- the value to set- Returns:
- this builder
-
name
public Server.Builder name(String name)
The name of the server.- Parameters:
name- the value to set- Returns:
- this builder
-
isAdmin
public Server.Builder isAdmin(Boolean isAdmin)
Whether or not the server is an admin node.- Parameters:
isAdmin- the value to set- Returns:
- this builder
-
status
public Server.Builder status(String status)
The status of the server.- Parameters:
status- the value to set- Returns:
- this builder
-
restartOrder
public Server.Builder restartOrder(Integer restartOrder)
The restart order assigned to the server.- Parameters:
restartOrder- the value to set- Returns:
- this builder
-
middlewarePath
public Server.Builder middlewarePath(String middlewarePath)
The middleware path on the server.- Parameters:
middlewarePath- the value to set- Returns:
- this builder
-
middlewareType
public Server.Builder middlewareType(String middlewareType)
The middleware type on the server.- Parameters:
middlewareType- the value to set- Returns:
- this builder
-
weblogicVersion
public Server.Builder weblogicVersion(String weblogicVersion)
The version of the WebLogic domain of the server- Parameters:
weblogicVersion- the value to set- Returns:
- this builder
-
jdkPath
public Server.Builder jdkPath(String jdkPath)
The JDK path on the server.- Parameters:
jdkPath- the value to set- Returns:
- this builder
-
jdkVersion
public Server.Builder jdkVersion(String jdkVersion)
The JDK version on the server.- Parameters:
jdkVersion- the value to set- Returns:
- this builder
-
wlsDomainName
public Server.Builder wlsDomainName(String wlsDomainName)
The name of the WebLogic domain to which the server belongs.- Parameters:
wlsDomainName- the value to set- Returns:
- this builder
-
wlsDomainId
public Server.Builder wlsDomainId(String wlsDomainId)
The ID of the WebLogic domain to which the server belongs.- Parameters:
wlsDomainId- the value to set- Returns:
- this builder
-
wlsDomainPath
public Server.Builder wlsDomainPath(String wlsDomainPath)
The path of the WebLogic domain to which the server belongs.- Parameters:
wlsDomainPath- the value to set- Returns:
- this builder
-
latestPatchesStatus
public Server.Builder latestPatchesStatus(Server.LatestPatchesStatus latestPatchesStatus)
Whether or not the server has installed the latest patches.- Parameters:
latestPatchesStatus- the value to set- Returns:
- this builder
-
patchReadinessStatus
public Server.Builder patchReadinessStatus(PatchReadinessStatus patchReadinessStatus)
The patch readiness status of the server.- Parameters:
patchReadinessStatus- the value to set- Returns:
- this builder
-
hostName
public Server.Builder hostName(String hostName)
The name of the server.- Parameters:
hostName- the value to set- Returns:
- this builder
-
managedInstanceId
public Server.Builder managedInstanceId(String managedInstanceId)
The managed instance ID of the server.- Parameters:
managedInstanceId- the value to set- Returns:
- this builder
-
timeCreated
public Server.Builder timeCreated(Date timeCreated)
The date and time the server was first reported (in RFC 3339 format).Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public Server.Builder timeUpdated(Date timeUpdated)
The date and time the server was last reported (in RFC 3339 format).Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public Server build()
-
copy
public Server.Builder copy(Server model)
-
-