Package com.oracle.bmc.wlms.model
Class RestoreWlsDomainDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.wlms.model.RestoreWlsDomainDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20241101") public final class RestoreWlsDomainDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The configuration details for the restore patches to WebLogic domain operation.
Note: Objects should always be created or deserialized using theRestoreWlsDomainDetails.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 theRestoreWlsDomainDetails.Builder
, which maintain a set of all explicitly set fields calledRestoreWlsDomainDetails.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 class
RestoreWlsDomainDetails.Builder
-
Constructor Summary
Constructors Constructor Description RestoreWlsDomainDetails(Boolean isForceServersShutdown, Boolean mustIncludeDomainsSharingMiddleware, List<ServerToRestore> serversToRestore)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestoreWlsDomainDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getIsForceServersShutdown()
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.Boolean
getMustIncludeDomainsSharingMiddleware()
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.List<ServerToRestore>
getServersToRestore()
List of servers to restore and the backupsint
hashCode()
RestoreWlsDomainDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
RestoreWlsDomainDetails
@Deprecated @ConstructorProperties({"isForceServersShutdown","mustIncludeDomainsSharingMiddleware","serversToRestore"}) public RestoreWlsDomainDetails(Boolean isForceServersShutdown, Boolean mustIncludeDomainsSharingMiddleware, List<ServerToRestore> serversToRestore)
Deprecated.
-
-
Method Detail
-
builder
public static RestoreWlsDomainDetails.Builder builder()
Create a new builder.
-
toBuilder
public RestoreWlsDomainDetails.Builder toBuilder()
-
getIsForceServersShutdown
public Boolean getIsForceServersShutdown()
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.
- Returns:
- the value
-
getMustIncludeDomainsSharingMiddleware
public Boolean getMustIncludeDomainsSharingMiddleware()
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.
- Returns:
- the value
-
getServersToRestore
public List<ServerToRestore> getServersToRestore()
List of servers to restore and the backups- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-