Package com.oracle.bmc.devops.model
Class ProjectSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.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 compartment where the project is created.ProjectSummary.Builder
copy(ProjectSummary model)
ProjectSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ProjectSummary.Builder
description(String description)
Project description.ProjectSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ProjectSummary.Builder
id(String id)
Unique identifier that is immutable on creation.ProjectSummary.Builder
lifecycleDetails(String lifecycleDetails)
A detailed message describing the current state.ProjectSummary.Builder
lifecycleState(Project.LifecycleState lifecycleState)
The current state of the project.ProjectSummary.Builder
name(String name)
Project name (case-sensitive).ProjectSummary.Builder
namespace(String namespace)
Namespace associated with the project.ProjectSummary.Builder
notificationConfig(NotificationConfig notificationConfig)
ProjectSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.ProjectSummary.Builder
timeCreated(Date timeCreated)
Time the project was created.ProjectSummary.Builder
timeUpdated(Date timeUpdated)
Time the project was updated.
-
-
-
Method Detail
-
id
public ProjectSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public ProjectSummary.Builder name(String name)
Project name (case-sensitive).- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public ProjectSummary.Builder description(String description)
Project description.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public ProjectSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the project is created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
namespace
public ProjectSummary.Builder namespace(String namespace)
Namespace associated with the project.- Parameters:
namespace
- the value to set- Returns:
- this builder
-
notificationConfig
public ProjectSummary.Builder notificationConfig(NotificationConfig notificationConfig)
-
timeCreated
public ProjectSummary.Builder timeCreated(Date timeCreated)
Time the project was created.Format defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ProjectSummary.Builder timeUpdated(Date timeUpdated)
Time the project was updated.Format defined by RFC3339.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ProjectSummary.Builder lifecycleDetails(String lifecycleDetails)
A detailed message describing the current state.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- 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
-
freeformTags
public ProjectSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. See Resource Tags. 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. See Resource Tags. 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. See Resource Tags. 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)
-
-