Class BulkActivationMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.model.BulkActivationMetadata.Builder
-
- Enclosing class:
- BulkActivationMetadata
public static class BulkActivationMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkActivationMetadata.Builder
availableNumericAttributes(Integer availableNumericAttributes)
Total number of free slots available to activate numeric attributes in the TRACES namespace in the APM Domain.BulkActivationMetadata.Builder
availableStringAttributes(Integer availableStringAttributes)
Total number of free slots available to activate string attributes in the TRACES namespace in the APM Domain.BulkActivationMetadata.Builder
availableSyntheticNumericAttributes(Integer availableSyntheticNumericAttributes)
Total number of free slots available to activate numeric attributes in the SYNTHETIC namespace in the APM Domain.BulkActivationMetadata.Builder
availableSyntheticStringAttributes(Integer availableSyntheticStringAttributes)
Total number of free slots available to activate string attributes in the SYNTHETIC namespace in the APM Domain.BulkActivationMetadata
build()
BulkActivationMetadata.Builder
copy(BulkActivationMetadata model)
BulkActivationMetadata.Builder
numericAttributesActivated(Integer numericAttributesActivated)
Total number of numeric attributes in TRACES namespace that were activated.BulkActivationMetadata.Builder
operationStatus(BulkActivationMetadata.OperationStatus operationStatus)
Operation status of the bulk activation operation.BulkActivationMetadata.Builder
operationType(BulkActivationMetadata.OperationType operationType)
Type of operation.BulkActivationMetadata.Builder
stringAttributesActivated(Integer stringAttributesActivated)
Total number of string attributes in TRACES namespace that were activated.BulkActivationMetadata.Builder
syntheticNumericAttributesActivated(Integer syntheticNumericAttributesActivated)
Total number of numeric attributes in SYNTHETIC namespace that were activated.BulkActivationMetadata.Builder
syntheticStringAttributesActivated(Integer syntheticStringAttributesActivated)
Total number of string attributes in SYNTHETIC namespace that were activated.
-
-
-
Method Detail
-
operationStatus
public BulkActivationMetadata.Builder operationStatus(BulkActivationMetadata.OperationStatus operationStatus)
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.
- Parameters:
operationStatus
- the value to set- Returns:
- this builder
-
operationType
public BulkActivationMetadata.Builder operationType(BulkActivationMetadata.OperationType operationType)
Type of operation.- Parameters:
operationType
- the value to set- Returns:
- this builder
-
stringAttributesActivated
public BulkActivationMetadata.Builder stringAttributesActivated(Integer stringAttributesActivated)
Total number of string attributes in TRACES namespace that were activated.- Parameters:
stringAttributesActivated
- the value to set- Returns:
- this builder
-
numericAttributesActivated
public BulkActivationMetadata.Builder numericAttributesActivated(Integer numericAttributesActivated)
Total number of numeric attributes in TRACES namespace that were activated.- Parameters:
numericAttributesActivated
- the value to set- Returns:
- this builder
-
syntheticStringAttributesActivated
public BulkActivationMetadata.Builder syntheticStringAttributesActivated(Integer syntheticStringAttributesActivated)
Total number of string attributes in SYNTHETIC namespace that were activated.- Parameters:
syntheticStringAttributesActivated
- the value to set- Returns:
- this builder
-
syntheticNumericAttributesActivated
public BulkActivationMetadata.Builder syntheticNumericAttributesActivated(Integer syntheticNumericAttributesActivated)
Total number of numeric attributes in SYNTHETIC namespace that were activated.- Parameters:
syntheticNumericAttributesActivated
- the value to set- Returns:
- this builder
-
availableStringAttributes
public BulkActivationMetadata.Builder availableStringAttributes(Integer availableStringAttributes)
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.
- Parameters:
availableStringAttributes
- the value to set- Returns:
- this builder
-
availableNumericAttributes
public BulkActivationMetadata.Builder availableNumericAttributes(Integer availableNumericAttributes)
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.
- Parameters:
availableNumericAttributes
- the value to set- Returns:
- this builder
-
availableSyntheticStringAttributes
public BulkActivationMetadata.Builder availableSyntheticStringAttributes(Integer availableSyntheticStringAttributes)
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.
- Parameters:
availableSyntheticStringAttributes
- the value to set- Returns:
- this builder
-
availableSyntheticNumericAttributes
public BulkActivationMetadata.Builder availableSyntheticNumericAttributes(Integer availableSyntheticNumericAttributes)
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.
- Parameters:
availableSyntheticNumericAttributes
- the value to set- Returns:
- this builder
-
build
public BulkActivationMetadata build()
-
copy
public BulkActivationMetadata.Builder copy(BulkActivationMetadata model)
-
-