Package com.oracle.bmc.apmtraces.model
Class AttributeMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.model.AttributeMetadata.Builder
-
- Enclosing class:
- AttributeMetadata
public static class AttributeMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeMetadata.Builder
attributeType(AttributeMetadata.AttributeType attributeType)
Type associated with the attribute key.AttributeMetadata.Builder
attributeUnit(AttributeMetadata.AttributeUnit attributeUnit)
Unit associated with the attribute key.AttributeMetadata
build()
AttributeMetadata.Builder
copy(AttributeMetadata model)
-
-
-
Method Detail
-
attributeType
public AttributeMetadata.Builder attributeType(AttributeMetadata.AttributeType attributeType)
Type associated with the attribute key.- Parameters:
attributeType
- the value to set- Returns:
- this builder
-
attributeUnit
public AttributeMetadata.Builder attributeUnit(AttributeMetadata.AttributeUnit attributeUnit)
Unit associated with the attribute key.If unit is not specified, it defaults to NONE.
- Parameters:
attributeUnit
- the value to set- Returns:
- this builder
-
build
public AttributeMetadata build()
-
copy
public AttributeMetadata.Builder copy(AttributeMetadata model)
-
-