Class Project.Builder
java.lang.Object
com.ants.platform.client.resources.projects.types.Project.Builder
- All Implemented Interfaces:
Project._FinalStage,Project.IdStage,Project.NameStage
- Enclosing class:
Project
public static final class Project.Builder
extends Object
implements Project.IdStage, Project.NameStage, Project._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Metadata for the projectputAllMetadata(Map<String, Object> metadata) Metadata for the projectretentionDays(Integer retentionDays) Number of days to retain data.retentionDays(Optional<Integer> retentionDays)
-
Method Details
-
from
- Specified by:
fromin interfaceProject.IdStage
-
id
- Specified by:
idin interfaceProject.IdStage
-
name
- Specified by:
namein interfaceProject.NameStage
-
retentionDays
Number of days to retain data. Null or 0 means no retention. Omitted if no retention is configured.
- Specified by:
retentionDaysin interfaceProject._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
retentionDays
- Specified by:
retentionDaysin interfaceProject._FinalStage
-
metadata
Metadata for the project
- Specified by:
metadatain interfaceProject._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
putAllMetadata
Metadata for the project
- Specified by:
putAllMetadatain interfaceProject._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
- Specified by:
metadatain interfaceProject._FinalStage
-
build
- Specified by:
buildin interfaceProject._FinalStage
-