Package com.oracle.bmc.aidocument.model
Class ProjectSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.ProjectSummary.Builder
-
- Enclosing class:
- ProjectSummary
public static class ProjectSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectSummarybuild()ProjectSummary.BuildercompartmentId(String compartmentId)The compartment identifier.ProjectSummary.Buildercopy(ProjectSummary model)ProjectSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ProjectSummary.Builderdescription(String description)An optional description of the project.ProjectSummary.BuilderdisplayName(String displayName)A human-friendly name for the project, that can be changed.ProjectSummary.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.ProjectSummary.Builderid(String id)A unique identifier that is immutable after creation.ProjectSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail, that can provide actionable information if creation failed.ProjectSummary.BuilderlifecycleState(Project.LifecycleState lifecycleState)The current state of the project.ProjectSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ProjectSummary.BuildertimeCreated(Date timeCreated)When the project was created, as an RFC3339 datetime string.ProjectSummary.BuildertimeUpdated(Date timeUpdated)When the project was created, as an RFC3339 datetime string.
-
-
-
Method Detail
-
id
public ProjectSummary.Builder id(String id)
A unique identifier that is immutable after creation.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ProjectSummary.Builder displayName(String displayName)
A human-friendly name for the project, that can be changed.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ProjectSummary.Builder description(String description)
An optional description of the project.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public ProjectSummary.Builder compartmentId(String compartmentId)
The compartment identifier.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public ProjectSummary.Builder timeCreated(Date timeCreated)
When the project was created, as an RFC3339 datetime string.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ProjectSummary.Builder timeUpdated(Date timeUpdated)
When the project was created, as an RFC3339 datetime string.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public ProjectSummary.Builder lifecycleState(Project.LifecycleState lifecycleState)
The current state of the project.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ProjectSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail, that can provide actionable information if creation failed.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public ProjectSummary.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.It exists for cross-compatibility only. For example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ProjectSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ProjectSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. For example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ProjectSummary build()
-
copy
public ProjectSummary.Builder copy(ProjectSummary model)
-
-