Package com.oracle.bmc.wlms.model
Class RestoreWlsDomainDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.wlms.model.RestoreWlsDomainDetails.Builder
-
- Enclosing class:
- RestoreWlsDomainDetails
public static class RestoreWlsDomainDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreWlsDomainDetails
build()
RestoreWlsDomainDetails.Builder
copy(RestoreWlsDomainDetails model)
RestoreWlsDomainDetails.Builder
isForceServersShutdown(Boolean isForceServersShutdown)
If the restore operation required to stop the servers, this option indicates to force shutdown of the servers if they have not shutdown after a period of time.RestoreWlsDomainDetails.Builder
mustIncludeDomainsSharingMiddleware(Boolean mustIncludeDomainsSharingMiddleware)
If the WebLogic Domain being restored shares middleware with other domains, and the restore operation will restore servers in the other domains, this option allows the operation to proceed on all domains that share the same middleware.RestoreWlsDomainDetails.Builder
serversToRestore(List<ServerToRestore> serversToRestore)
List of servers to restore and the backups
-
-
-
Method Detail
-
isForceServersShutdown
public RestoreWlsDomainDetails.Builder isForceServersShutdown(Boolean isForceServersShutdown)
If the restore operation required to stop the servers, this option indicates to force shutdown of the servers if they have not shutdown after a period of time.The timeout can be configured in the WebLogic domain configuration.
- Parameters:
isForceServersShutdown
- the value to set- Returns:
- this builder
-
mustIncludeDomainsSharingMiddleware
public RestoreWlsDomainDetails.Builder mustIncludeDomainsSharingMiddleware(Boolean mustIncludeDomainsSharingMiddleware)
If the WebLogic Domain being restored shares middleware with other domains, and the restore operation will restore servers in the other domains, this option allows the operation to proceed on all domains that share the same middleware.If not set to true, the restore operation will fail if there is any other domain using the same middleware.
- Parameters:
mustIncludeDomainsSharingMiddleware
- the value to set- Returns:
- this builder
-
serversToRestore
public RestoreWlsDomainDetails.Builder serversToRestore(List<ServerToRestore> serversToRestore)
List of servers to restore and the backups- Parameters:
serversToRestore
- the value to set- Returns:
- this builder
-
build
public RestoreWlsDomainDetails build()
-
copy
public RestoreWlsDomainDetails.Builder copy(RestoreWlsDomainDetails model)
-
-