Class BulkUnpinMetadata
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apmtraces.model.BulkUnpinMetadata
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class BulkUnpinMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Metadata about the bulk unpin operation.The bulk unpin operation is atomic and binary. If the processing of any of the attributes in the bulk unpin request results in a processing or validation error, then none of the attributes in the request are unpinned.
Note: Objects should always be created or deserialized using theBulkUnpinMetadata.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 theBulkUnpinMetadata.Builder
, which maintain a set of all explicitly set fields calledBulkUnpinMetadata.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
BulkUnpinMetadata.Builder
static class
BulkUnpinMetadata.OperationStatus
Operation status of the bulk unpin operation.static class
BulkUnpinMetadata.OperationType
Type of operation.
-
Constructor Summary
Constructors Constructor Description BulkUnpinMetadata(BulkUnpinMetadata.OperationStatus operationStatus, BulkUnpinMetadata.OperationType operationType, Integer attributesUnpinned, Integer syntheticAttributesUnpinned)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkUnpinMetadata.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getAttributesUnpinned()
Total number attributes (both string and numeric) in TRACES namespace that were unpinned.BulkUnpinMetadata.OperationStatus
getOperationStatus()
Operation status of the bulk unpin operation.BulkUnpinMetadata.OperationType
getOperationType()
Type of operation.Integer
getSyntheticAttributesUnpinned()
Total number attributes (both string and numeric) in SYNTHETIC namespace that were unpinned.int
hashCode()
BulkUnpinMetadata.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
BulkUnpinMetadata
@Deprecated @ConstructorProperties({"operationStatus","operationType","attributesUnpinned","syntheticAttributesUnpinned"}) public BulkUnpinMetadata(BulkUnpinMetadata.OperationStatus operationStatus, BulkUnpinMetadata.OperationType operationType, Integer attributesUnpinned, Integer syntheticAttributesUnpinned)
Deprecated.
-
-
Method Detail
-
builder
public static BulkUnpinMetadata.Builder builder()
Create a new builder.
-
toBuilder
public BulkUnpinMetadata.Builder toBuilder()
-
getOperationStatus
public BulkUnpinMetadata.OperationStatus getOperationStatus()
Operation status of the bulk unpin operation.SUCCESS - The bulk unpin operation has succeeded and all the attributes in the bulk unpin request have been unpinned by this operation. The following are error statuses for the bulk unpin operation. EMPTY_ATTRIBUTE_LIST - The bulk unpin request object was empty and did not contain any attributes to be unpinned. 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.
- Returns:
- the value
-
getOperationType
public BulkUnpinMetadata.OperationType getOperationType()
Type of operation.- Returns:
- the value
-
getAttributesUnpinned
public Integer getAttributesUnpinned()
Total number attributes (both string and numeric) in TRACES namespace that were unpinned.- Returns:
- the value
-
getSyntheticAttributesUnpinned
public Integer getSyntheticAttributesUnpinned()
Total number attributes (both string and numeric) in SYNTHETIC namespace that were unpinned.- 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
-
-