Package com.oracle.bmc.datascience.model
Class ProjectSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.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 ProjectSummary
build()
ProjectSummary.Builder
compartmentId(String compartmentId)
The OCID of the project’s compartment.ProjectSummary.Builder
copy(ProjectSummary model)
ProjectSummary.Builder
createdBy(String createdBy)
The OCID of the user who created the project.ProjectSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ProjectSummary.Builder
description(String description)
A short description of the project.ProjectSummary.Builder
displayName(String displayName)
A user-friendly display name for the resource.ProjectSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ProjectSummary.Builder
id(String id)
The OCID of the project.ProjectSummary.Builder
lifecycleState(ProjectLifecycleState lifecycleState)
The state of the project.ProjectSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.ProjectSummary.Builder
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public ProjectSummary.Builder id(String id)
The OCID of the project.- Parameters:
id
- the value to set- Returns:
- this builder
-
timeCreated
public ProjectSummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.Example: 2019-08-25T21:10:29.41Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
displayName
public ProjectSummary.Builder displayName(String displayName)
A user-friendly display name for the resource.It does not have to be unique and can be modified. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public ProjectSummary.Builder description(String description)
A short description of the project.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public ProjectSummary.Builder compartmentId(String compartmentId)
The OCID of the project’s compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
createdBy
public ProjectSummary.Builder createdBy(String createdBy)
The OCID of the user who created the project.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
lifecycleState
public ProjectSummary.Builder lifecycleState(ProjectLifecycleState lifecycleState)
The state of the project.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public ProjectSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}
- 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. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- 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. 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)
-
-