@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class AdhocQueryRegionalDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Instance level status for each region.
Note: Objects should always be created or deserialized using the AdhocQueryRegionalDetails.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 the AdhocQueryRegionalDetails.Builder
, which maintain a
set of all explicitly set fields called AdhocQueryRegionalDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
AdhocQueryRegionalDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AdhocQueryRegionalDetails(String region,
AdhocQueryStatus regionalStatus,
String regionalError,
String expectedCount,
String failedCount,
String succeededCount,
String expiredCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AdhocQueryRegionalDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getExpectedCount()
Expected number of instances on which query should run
|
String |
getExpiredCount()
Number of instances on which query expired
|
String |
getFailedCount()
Number of instances on which query failed
|
String |
getRegion()
Region name
|
String |
getRegionalError()
error message to show if adhoc query fails in a region
|
AdhocQueryStatus |
getRegionalStatus()
adhoc query status of the region
|
String |
getSucceededCount()
Number of instances on which query succeeded
|
int |
hashCode() |
AdhocQueryRegionalDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"region","regionalStatus","regionalError","expectedCount","failedCount","succeededCount","expiredCount"}) public AdhocQueryRegionalDetails(String region, AdhocQueryStatus regionalStatus, String regionalError, String expectedCount, String failedCount, String succeededCount, String expiredCount)
public static AdhocQueryRegionalDetails.Builder builder()
Create a new builder.
public AdhocQueryRegionalDetails.Builder toBuilder()
public String getRegion()
Region name
public AdhocQueryStatus getRegionalStatus()
adhoc query status of the region
public String getRegionalError()
error message to show if adhoc query fails in a region
public String getExpectedCount()
Expected number of instances on which query should run
public String getFailedCount()
Number of instances on which query failed
public String getSucceededCount()
Number of instances on which query succeeded
public String getExpiredCount()
Number of instances on which query expired
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.