Package com.oracle.bmc.goldengate.model
Class DisasterRecoveryPrecheckResult
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckResult
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class DisasterRecoveryPrecheckResult extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA single precheck result.
Note: Objects should always be created or deserialized using theDisasterRecoveryPrecheckResult.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 theDisasterRecoveryPrecheckResult.Builder, which maintain a set of all explicitly set fields calledDisasterRecoveryPrecheckResult.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 classDisasterRecoveryPrecheckResult.Builder
-
Constructor Summary
Constructors Constructor Description DisasterRecoveryPrecheckResult(String key, String displayName, String description, String correctiveAction, PrecheckStatus status, String relatedResourceId, RelatedResourceType relatedResourceType, String code)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisasterRecoveryPrecheckResult.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCode()The code returned when GoldenGate reports an error while running a step during pipeline initialization.StringgetCorrectiveAction()The corrective action for non-passing checks.StringgetDescription()Metadata about this specific object.StringgetDisplayName()An object’s Display Name.StringgetKey()UUID to uniquely identify the each check result.StringgetRelatedResourceId()The OCID of the resource related to the corresponding check.RelatedResourceTypegetRelatedResourceType()Type of resource related to corresponding check.PrecheckStatusgetStatus()Status of the DR precheck result.inthashCode()DisasterRecoveryPrecheckResult.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DisasterRecoveryPrecheckResult
@Deprecated @ConstructorProperties({"key","displayName","description","correctiveAction","status","relatedResourceId","relatedResourceType","code"}) public DisasterRecoveryPrecheckResult(String key, String displayName, String description, String correctiveAction, PrecheckStatus status, String relatedResourceId, RelatedResourceType relatedResourceType, String code)
Deprecated.
-
-
Method Detail
-
builder
public static DisasterRecoveryPrecheckResult.Builder builder()
Create a new builder.
-
toBuilder
public DisasterRecoveryPrecheckResult.Builder toBuilder()
-
getKey
public String getKey()
UUID to uniquely identify the each check result.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
An object’s Display Name.- Returns:
- the value
-
getDescription
public String getDescription()
Metadata about this specific object.- Returns:
- the value
-
getCorrectiveAction
public String getCorrectiveAction()
The corrective action for non-passing checks.Null for passed checks.
- Returns:
- the value
-
getStatus
public PrecheckStatus getStatus()
Status of the DR precheck result.- Returns:
- the value
-
getRelatedResourceId
public String getRelatedResourceId()
The OCID of the resource related to the corresponding check.- Returns:
- the value
-
getRelatedResourceType
public RelatedResourceType getRelatedResourceType()
Type of resource related to corresponding check.- Returns:
- the value
-
getCode
public String getCode()
The code returned when GoldenGate reports an error while running a step during pipeline initialization.https://docs.oracle.com/en/middleware/goldengate/core/23/error-messages/ogg-00001-ogg-40000.html#GUID-97FF7AA7-7A5C-4AA7-B29F-3CC8D26761F2
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-