@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class BulkPinMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Metadata about the bulk pin operation. The bulk pin operation is atomic and binary. If the
processing of any of the attributes in the bulk pin request results in a processing or validation
error, then none of the attributes in the request are pinned.
Note: Objects should always be created or deserialized using the BulkPinMetadata.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 BulkPinMetadata.Builder
, which maintain a
set of all explicitly set fields called BulkPinMetadata.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 |
BulkPinMetadata.Builder |
static class |
BulkPinMetadata.OperationStatus
Operation status of the bulk pin operation.
|
static class |
BulkPinMetadata.OperationType
Type of operation.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BulkPinMetadata(BulkPinMetadata.OperationStatus operationStatus,
BulkPinMetadata.OperationType operationType,
Integer attributesPinned,
Integer syntheticAttributesPinned)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BulkPinMetadata.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getAttributesPinned()
Total number attributes (both string and numeric) in TRACES namespace that were pinned.
|
BulkPinMetadata.OperationStatus |
getOperationStatus()
Operation status of the bulk pin operation.
|
BulkPinMetadata.OperationType |
getOperationType()
Type of operation.
|
Integer |
getSyntheticAttributesPinned()
Total number attributes (both string and numeric) in SYNTHETIC namespace that were pinned.
|
int |
hashCode() |
BulkPinMetadata.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"operationStatus","operationType","attributesPinned","syntheticAttributesPinned"}) public BulkPinMetadata(BulkPinMetadata.OperationStatus operationStatus, BulkPinMetadata.OperationType operationType, Integer attributesPinned, Integer syntheticAttributesPinned)
public static BulkPinMetadata.Builder builder()
Create a new builder.
public BulkPinMetadata.Builder toBuilder()
public BulkPinMetadata.OperationStatus getOperationStatus()
Operation status of the bulk pin operation. SUCCESS - The bulk pin operation has succeeded and all the attributes in the bulk pin request have been pinned by this operation or pinned earlier. The following are error statuses for the bulk pin operation. EMPTY_ATTRIBUTE_LIST - The bulk pin request object was empty and did not contain any attributes to be pinned. INVALID_BULK_REQUEST - The bulk request contains invalid attribute(s), or attribute(s) that resulted in a validation error, or an attribute that resulted in a processing error.
public BulkPinMetadata.OperationType getOperationType()
Type of operation.
public Integer getAttributesPinned()
Total number attributes (both string and numeric) in TRACES namespace that were pinned.
public Integer getSyntheticAttributesPinned()
Total number attributes (both string and numeric) in SYNTHETIC namespace that were pinned.
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.