Class BulkActivationMetadata
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apmtraces.model.BulkActivationMetadata
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class BulkActivationMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelMetadata about the bulk activation operation.The bulk activation operation is atomic and binary. If the processing of any of the attributes in the bulk activation request results in a processing or validation error, then none of the attributes in the request are activated. The bulk activation request succeeds only when all the attributes in the bulk activation request are processed and they get a successful attributeStatus back. 
 Note: Objects should always be created or deserialized using theBulkActivationMetadata.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 theBulkActivationMetadata.Builder, which maintain a set of all explicitly set fields calledBulkActivationMetadata.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 SummaryNested Classes Modifier and Type Class Description static classBulkActivationMetadata.Builderstatic classBulkActivationMetadata.OperationStatusOperation status of the bulk activation operation.static classBulkActivationMetadata.OperationTypeType of operation.
 - 
Constructor SummaryConstructors Constructor Description BulkActivationMetadata(BulkActivationMetadata.OperationStatus operationStatus, BulkActivationMetadata.OperationType operationType, Integer stringAttributesActivated, Integer numericAttributesActivated, Integer syntheticStringAttributesActivated, Integer syntheticNumericAttributesActivated, Integer availableStringAttributes, Integer availableNumericAttributes, Integer availableSyntheticStringAttributes, Integer availableSyntheticNumericAttributes)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkActivationMetadata.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetAvailableNumericAttributes()Total number of free slots available to activate numeric attributes in the TRACES namespace in the APM Domain.IntegergetAvailableStringAttributes()Total number of free slots available to activate string attributes in the TRACES namespace in the APM Domain.IntegergetAvailableSyntheticNumericAttributes()Total number of free slots available to activate numeric attributes in the SYNTHETIC namespace in the APM Domain.IntegergetAvailableSyntheticStringAttributes()Total number of free slots available to activate string attributes in the SYNTHETIC namespace in the APM Domain.IntegergetNumericAttributesActivated()Total number of numeric attributes in TRACES namespace that were activated.BulkActivationMetadata.OperationStatusgetOperationStatus()Operation status of the bulk activation operation.BulkActivationMetadata.OperationTypegetOperationType()Type of operation.IntegergetStringAttributesActivated()Total number of string attributes in TRACES namespace that were activated.IntegergetSyntheticNumericAttributesActivated()Total number of numeric attributes in SYNTHETIC namespace that were activated.IntegergetSyntheticStringAttributesActivated()Total number of string attributes in SYNTHETIC namespace that were activated.inthashCode()BulkActivationMetadata.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
BulkActivationMetadata@Deprecated @ConstructorProperties({"operationStatus","operationType","stringAttributesActivated","numericAttributesActivated","syntheticStringAttributesActivated","syntheticNumericAttributesActivated","availableStringAttributes","availableNumericAttributes","availableSyntheticStringAttributes","availableSyntheticNumericAttributes"}) public BulkActivationMetadata(BulkActivationMetadata.OperationStatus operationStatus, BulkActivationMetadata.OperationType operationType, Integer stringAttributesActivated, Integer numericAttributesActivated, Integer syntheticStringAttributesActivated, Integer syntheticNumericAttributesActivated, Integer availableStringAttributes, Integer availableNumericAttributes, Integer availableSyntheticStringAttributes, Integer availableSyntheticNumericAttributes) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static BulkActivationMetadata.Builder builder() Create a new builder.
 - 
toBuilderpublic BulkActivationMetadata.Builder toBuilder() 
 - 
getOperationStatuspublic BulkActivationMetadata.OperationStatus getOperationStatus() Operation status of the bulk activation operation.The bulk activation operation could have either a success or an error status as defined below. The following is a success status for the bulk activation operation. SUCCESS - The bulk activation operation has succeeded and all the attributes in the bulk activation request have been activated by this operation or activated earlier. The following are error statuses for the bulk activation operation. Note that none of the attributes (string or numeric) in the bulk request have been activated by this bulk activation operation if any of the below statuses. EMPTY_ATTRIBUTE_LIST - The bulk activation request object was empty and did not contain any attributes to be activated. NUMERIC_ATTRIBUTE_LIMIT_EXCEEDED - The number of numeric attributes in the bulk request exceeded the maximum limit (100) of numeric attributes that could be activated 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 activated in the APM Domain. INSUFFICIENT_STRING_SPACE - There are not enough free slots available in the APM Domain to activate the string attributes present in the bulk request. INSUFFICIENT_NUMERIC_SPACE - There are not enough free slots available in the APM Domain to activate the numeric attributes present in the bulk request. 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
 
 - 
getOperationTypepublic BulkActivationMetadata.OperationType getOperationType() Type of operation.- Returns:
- the value
 
 - 
getStringAttributesActivatedpublic Integer getStringAttributesActivated() Total number of string attributes in TRACES namespace that were activated.- Returns:
- the value
 
 - 
getNumericAttributesActivatedpublic Integer getNumericAttributesActivated() Total number of numeric attributes in TRACES namespace that were activated.- Returns:
- the value
 
 - 
getSyntheticStringAttributesActivatedpublic Integer getSyntheticStringAttributesActivated() Total number of string attributes in SYNTHETIC namespace that were activated.- Returns:
- the value
 
 - 
getSyntheticNumericAttributesActivatedpublic Integer getSyntheticNumericAttributesActivated() Total number of numeric attributes in SYNTHETIC namespace that were activated.- Returns:
- the value
 
 - 
getAvailableStringAttributespublic Integer getAvailableStringAttributes() Total number of free slots available to activate string attributes in the TRACES namespace in the APM Domain.Note that if a bulk request has succeeded, this number reflects the total number of free slots available for activation of additional string attributes in the TRACES namespace in the APM Domain. - Returns:
- the value
 
 - 
getAvailableNumericAttributespublic Integer getAvailableNumericAttributes() Total number of free slots available to activate numeric attributes in the TRACES namespace in the APM Domain.Note that if a bulk request has succeeded, this number reflects the total number of free slots available for activation of additional numeric attributes in the TRACES namespace in the APM Domain. - Returns:
- the value
 
 - 
getAvailableSyntheticStringAttributespublic Integer getAvailableSyntheticStringAttributes() Total number of free slots available to activate string attributes in the SYNTHETIC namespace in the APM Domain.Note that if a bulk request has succeeded, this number reflects the total number of free synthetic slots available for activation of additional string attributes in the SYNTHETIC namespace in the APM Domain. - Returns:
- the value
 
 - 
getAvailableSyntheticNumericAttributespublic Integer getAvailableSyntheticNumericAttributes() Total number of free slots available to activate numeric attributes in the SYNTHETIC namespace in the APM Domain.Note that if a bulk request has succeeded, this number reflects the total number of free synthetic slots available for activation of additional numeric attributes in the SYNTHETIC namespace in the APM Domain. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-