Class BulkDeActivationMetadata
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apmtraces.model.BulkDeActivationMetadata
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class BulkDeActivationMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Metadata about the bulk deactivation operation.The bulk deactivation operation is atomic and binary. If the processing of any of the attributes in the bulk deactivation request results in a processing or validation error, then none of the attributes in the request are deactivated. The bulk deactivation request succeeds only when all the attributes in the bulk deactivation request are processed and they get a successful attributeStatus back.
Note: Objects should always be created or deserialized using theBulkDeActivationMetadata.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 theBulkDeActivationMetadata.Builder
, which maintain a set of all explicitly set fields calledBulkDeActivationMetadata.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
BulkDeActivationMetadata.Builder
static class
BulkDeActivationMetadata.OperationStatus
Operation status of the bulk deactivation operation.static class
BulkDeActivationMetadata.OperationType
Type of operation.
-
Constructor Summary
Constructors Constructor Description BulkDeActivationMetadata(BulkDeActivationMetadata.OperationStatus operationStatus, BulkDeActivationMetadata.OperationType operationType, Integer attributesDeActivated, Integer syntheticAttributesDeActivated, Integer availableStringAttributes, Integer availableNumericAttributes, Integer availableSyntheticStringAttributes, Integer availableSyntheticNumericAttributes)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkDeActivationMetadata.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getAttributesDeActivated()
Total number attributes (both string and numeric) in TRACES namespace that were deactivated.Integer
getAvailableNumericAttributes()
Total number of free slots available for activation of additional numeric attributes in TRACES namespace in the APM Domain.Integer
getAvailableStringAttributes()
Total number of free slots available for activation of additional string attributes in TRACES namespace in the APM Domain.Integer
getAvailableSyntheticNumericAttributes()
Total number of free slots available for activation of additional numeric attributes in SYNTHETIC namespace in the APM Domain.Integer
getAvailableSyntheticStringAttributes()
Total number of free slots available for activation of additional string attributes in SYNTHETIC namespace in the APM Domain.BulkDeActivationMetadata.OperationStatus
getOperationStatus()
Operation status of the bulk deactivation operation.BulkDeActivationMetadata.OperationType
getOperationType()
Type of operation.Integer
getSyntheticAttributesDeActivated()
Total number attributes (both string and numeric) in SYNTHETIC namespace that were deactivated.int
hashCode()
BulkDeActivationMetadata.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
BulkDeActivationMetadata
@Deprecated @ConstructorProperties({"operationStatus","operationType","attributesDeActivated","syntheticAttributesDeActivated","availableStringAttributes","availableNumericAttributes","availableSyntheticStringAttributes","availableSyntheticNumericAttributes"}) public BulkDeActivationMetadata(BulkDeActivationMetadata.OperationStatus operationStatus, BulkDeActivationMetadata.OperationType operationType, Integer attributesDeActivated, Integer syntheticAttributesDeActivated, Integer availableStringAttributes, Integer availableNumericAttributes, Integer availableSyntheticStringAttributes, Integer availableSyntheticNumericAttributes)
Deprecated.
-
-
Method Detail
-
builder
public static BulkDeActivationMetadata.Builder builder()
Create a new builder.
-
toBuilder
public BulkDeActivationMetadata.Builder toBuilder()
-
getOperationStatus
public BulkDeActivationMetadata.OperationStatus getOperationStatus()
Operation status of the bulk deactivation operation.The bulk deactivation operation could have either a success or an error status as defined below. Note that if a bulk operation has not succeeded, we do not deactivate any tags in the request set. SUCCESS - The bulk deactivation operation has succeeded and all the attributes in the bulk deactivation request have been deactivated by this operation or deactivated earlier. The following are error statuses for the bulk deactivation operation. Note that none of the attributes (string or numeric) in the bulk request have been deactivated by this bulk deactivation operation if any of the below statuses are returned. EMPTY_ATTRIBUTE_LIST - The bulk deactivation request object was empty and did not contain any attributes to be deactivated. NUMERIC_ATTRIBUTE_LIMIT_EXCEEDED - The number of numeric attributes in the bulk request exceeded the maximum limit (100) of numeric attributes that could be present in the APM Domain. STRING_ATTRIBUTE_LIMIT_EXCEEDED - The number of string attributes in the bulk request exceeded the maximum limit (700) of string attributes that could be present in the APM Domain. 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 BulkDeActivationMetadata.OperationType getOperationType()
Type of operation.- Returns:
- the value
-
getAttributesDeActivated
public Integer getAttributesDeActivated()
Total number attributes (both string and numeric) in TRACES namespace that were deactivated.- Returns:
- the value
-
getSyntheticAttributesDeActivated
public Integer getSyntheticAttributesDeActivated()
Total number attributes (both string and numeric) in SYNTHETIC namespace that were deactivated.- Returns:
- the value
-
getAvailableStringAttributes
public Integer getAvailableStringAttributes()
Total number of free slots available for activation of additional string attributes in TRACES namespace in the APM Domain.- Returns:
- the value
-
getAvailableNumericAttributes
public Integer getAvailableNumericAttributes()
Total number of free slots available for activation of additional numeric attributes in TRACES namespace in the APM Domain.- Returns:
- the value
-
getAvailableSyntheticStringAttributes
public Integer getAvailableSyntheticStringAttributes()
Total number of free slots available for activation of additional string attributes in SYNTHETIC namespace in the APM Domain.- Returns:
- the value
-
getAvailableSyntheticNumericAttributes
public Integer getAvailableSyntheticNumericAttributes()
Total number of free slots available for activation of additional numeric attributes in SYNTHETIC namespace in the APM Domain.- 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
-
-