Package cern.nxcals.api.custom.domain
Class Tag.Builder
- java.lang.Object
-
- cern.nxcals.api.custom.domain.Tag.Builder
-
- Direct Known Subclasses:
Tag.InnerBuilder
- Enclosing class:
- Tag
public static class Tag.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tag
build()
Tag.Builder
description(java.lang.String description)
Tag.Builder
name(java.lang.String name)
Tag.Builder
owner(java.lang.String owner)
Tag.Builder
properties(java.util.Map<java.lang.String,java.lang.String> properties)
Tag.Builder
system(java.lang.String system)
Tag.Builder
timestamp(java.time.Instant timestamp)
java.lang.String
toString()
Tag.Builder
visibility(Visibility visibility)
-
-
-
Method Detail
-
name
public Tag.Builder name(java.lang.String name)
- Returns:
this
.
-
description
public Tag.Builder description(java.lang.String description)
- Returns:
this
.
-
system
public Tag.Builder system(java.lang.String system)
- Returns:
this
.
-
owner
public Tag.Builder owner(java.lang.String owner)
- Returns:
this
.
-
visibility
public Tag.Builder visibility(Visibility visibility)
- Returns:
this
.
-
timestamp
public Tag.Builder timestamp(java.time.Instant timestamp)
- Returns:
this
.
-
properties
public Tag.Builder properties(java.util.Map<java.lang.String,java.lang.String> properties)
- Returns:
this
.
-
build
public Tag build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-