Class BulkActivationMetadata.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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