Package com.oracle.bmc.apmtraces.model
Class BulkPinMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.model.BulkPinMetadata.Builder
-
- Enclosing class:
- BulkPinMetadata
public static class BulkPinMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkPinMetadata.Builder
attributesPinned(Integer attributesPinned)
Total number attributes (both string and numeric) in TRACES namespace that were pinned.BulkPinMetadata
build()
BulkPinMetadata.Builder
copy(BulkPinMetadata model)
BulkPinMetadata.Builder
operationStatus(BulkPinMetadata.OperationStatus operationStatus)
Operation status of the bulk pin operation.BulkPinMetadata.Builder
operationType(BulkPinMetadata.OperationType operationType)
Type of operation.BulkPinMetadata.Builder
syntheticAttributesPinned(Integer syntheticAttributesPinned)
Total number attributes (both string and numeric) in SYNTHETIC namespace that were pinned.
-
-
-
Method Detail
-
operationStatus
public BulkPinMetadata.Builder operationStatus(BulkPinMetadata.OperationStatus operationStatus)
Operation status of the bulk pin operation.SUCCESS - The bulk pin operation has succeeded and all the attributes in the bulk pin request have been pinned by this operation or pinned earlier. The following are error statuses for the bulk pin operation. EMPTY_ATTRIBUTE_LIST - The bulk pin request object was empty and did not contain any attributes to be pinned. 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 BulkPinMetadata.Builder operationType(BulkPinMetadata.OperationType operationType)
Type of operation.- Parameters:
operationType
- the value to set- Returns:
- this builder
-
attributesPinned
public BulkPinMetadata.Builder attributesPinned(Integer attributesPinned)
Total number attributes (both string and numeric) in TRACES namespace that were pinned.- Parameters:
attributesPinned
- the value to set- Returns:
- this builder
-
syntheticAttributesPinned
public BulkPinMetadata.Builder syntheticAttributesPinned(Integer syntheticAttributesPinned)
Total number attributes (both string and numeric) in SYNTHETIC namespace that were pinned.- Parameters:
syntheticAttributesPinned
- the value to set- Returns:
- this builder
-
build
public BulkPinMetadata build()
-
copy
public BulkPinMetadata.Builder copy(BulkPinMetadata model)
-
-