Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Project |
build() |
Project.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where the project is created.
|
Project.Builder |
copy(Project model) |
Project.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Project.Builder |
description(String description)
Project description.
|
Project.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Project.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
Project.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Project.Builder |
lifecycleState(Project.LifecycleState lifecycleState)
The current state of the project.
|
Project.Builder |
name(String name)
Project name (case-sensitive).
|
Project.Builder |
namespace(String namespace)
Namespace associated with the project.
|
Project.Builder |
notificationConfig(NotificationConfig notificationConfig) |
Project.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Project.Builder |
timeCreated(Date timeCreated)
Time the project was created.
|
Project.Builder |
timeUpdated(Date timeUpdated)
Time the project was updated.
|
public Project.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic Project.Builder name(String name)
Project name (case-sensitive).
name
- the value to setpublic Project.Builder description(String description)
Project description.
description
- the value to setpublic Project.Builder compartmentId(String compartmentId)
The OCID of the compartment where the project is created.
compartmentId
- the value to setpublic Project.Builder namespace(String namespace)
Namespace associated with the project.
namespace
- the value to setpublic Project.Builder notificationConfig(NotificationConfig notificationConfig)
public Project.Builder timeCreated(Date timeCreated)
Time the project was created. Format defined by RFC3339.
timeCreated
- the value to setpublic Project.Builder timeUpdated(Date timeUpdated)
Time the project was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic Project.Builder lifecycleState(Project.LifecycleState lifecycleState)
The current state of the project.
lifecycleState
- the value to setpublic Project.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Project.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"}
freeformTags
- the value to setpublic Project.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"}}
definedTags
- the value to setpublic Project.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"}}
systemTags
- the value to setpublic Project build()
public Project.Builder copy(Project model)
Copyright © 2016–2024. All rights reserved.