public static class ProjectSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProjectSummary |
build() |
ProjectSummary.Builder |
compartmentId(String compartmentId)
The compartment identifier.
|
ProjectSummary.Builder |
copy(ProjectSummary model) |
ProjectSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ProjectSummary.Builder |
description(String description)
An optional description of the project.
|
ProjectSummary.Builder |
displayName(String displayName)
A human-friendly name for the project, that can be changed.
|
ProjectSummary.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
ProjectSummary.Builder |
id(String id)
A unique identifier that is immutable after creation.
|
ProjectSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail, that can provide actionable
information if creation failed.
|
ProjectSummary.Builder |
lifecycleState(Project.LifecycleState lifecycleState)
The current state of the project.
|
ProjectSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ProjectSummary.Builder |
timeCreated(Date timeCreated)
When the project was created, as an RFC3339 datetime string.
|
ProjectSummary.Builder |
timeUpdated(Date timeUpdated)
When the project was created, as an RFC3339 datetime string.
|
public ProjectSummary.Builder id(String id)
A unique identifier that is immutable after creation.
id
- the value to setpublic ProjectSummary.Builder displayName(String displayName)
A human-friendly name for the project, that can be changed.
displayName
- the value to setpublic ProjectSummary.Builder description(String description)
An optional description of the project.
description
- the value to setpublic ProjectSummary.Builder compartmentId(String compartmentId)
The compartment identifier.
compartmentId
- the value to setpublic ProjectSummary.Builder timeCreated(Date timeCreated)
When the project was created, as an RFC3339 datetime string.
timeCreated
- the value to setpublic ProjectSummary.Builder timeUpdated(Date timeUpdated)
When the project was created, as an RFC3339 datetime string.
timeUpdated
- the value to setpublic ProjectSummary.Builder lifecycleState(Project.LifecycleState lifecycleState)
The current state of the project.
lifecycleState
- the value to setpublic ProjectSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail, that can provide actionable information if creation failed.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ProjectSummary build()
public ProjectSummary.Builder copy(ProjectSummary model)
Copyright © 2016–2024. All rights reserved.