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 Server
build()
Server.Builder
copy(Server model)
Server.Builder
hostName(String hostName)
The name of the server.Server.Builder
id(String id)
The unique identifier of the server.Server.Builder
isAdmin(Boolean isAdmin)
Whether or not the server is an admin node.Server.Builder
jdkPath(String jdkPath)
The JDK path on the server.Server.Builder
jdkVersion(String jdkVersion)
The JDK version on the server.Server.Builder
latestPatchesStatus(Server.LatestPatchesStatus latestPatchesStatus)
Whether or not the server has installed the latest patches.Server.Builder
managedInstanceId(String managedInstanceId)
The managed instance ID of the server.Server.Builder
middlewarePath(String middlewarePath)
The middleware path on the server.Server.Builder
middlewareType(String middlewareType)
The middleware type on the server.Server.Builder
name(String name)
The name of the server.Server.Builder
patchReadinessStatus(PatchReadinessStatus patchReadinessStatus)
The patch readiness status of the server.Server.Builder
restartOrder(Integer restartOrder)
The restart order assigned to the server.Server.Builder
status(String status)
The status of the server.Server.Builder
timeCreated(Date timeCreated)
The date and time the server was first reported (in RFC 3339 format).Server.Builder
timeUpdated(Date timeUpdated)
The date and time the server was last reported (in RFC 3339 format).Server.Builder
weblogicVersion(String weblogicVersion)
The version of the WebLogic domain of the serverServer.Builder
wlsDomainId(String wlsDomainId)
The ID of the WebLogic domain to which the server belongs.Server.Builder
wlsDomainName(String wlsDomainName)
The name of the WebLogic domain to which the server belongs.Server.Builder
wlsDomainPath(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)
-
-