Package com.oracle.bmc.apmtraces.model
Class TagMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.model.TagMetadata.Builder
-
- Enclosing class:
- TagMetadata
public static class TagMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagMetadatabuild()TagMetadata.Buildercopy(TagMetadata model)TagMetadata.BuildertagType(TagMetadata.TagType tagType)Type associated with the tag key.TagMetadata.BuildertagUnit(TagMetadata.TagUnit tagUnit)Unit associated with the tag key.
-
-
-
Method Detail
-
tagType
public TagMetadata.Builder tagType(TagMetadata.TagType tagType)
Type associated with the tag key.- Parameters:
tagType- the value to set- Returns:
- this builder
-
tagUnit
public TagMetadata.Builder tagUnit(TagMetadata.TagUnit tagUnit)
Unit associated with the tag key.If unit is not specified, it defaults to NONE.
- Parameters:
tagUnit- the value to set- Returns:
- this builder
-
build
public TagMetadata build()
-
copy
public TagMetadata.Builder copy(TagMetadata model)
-
-