public static class EnvironmentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EnvironmentSummary |
build() |
EnvironmentSummary.Builder |
compartmentId(String compartmentId)
Compartment identifier.
|
EnvironmentSummary.Builder |
copy(EnvironmentSummary model) |
EnvironmentSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.
|
EnvironmentSummary.Builder |
displayName(String displayName)
Environment identifier, which can be renamed.
|
EnvironmentSummary.Builder |
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.
|
EnvironmentSummary.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
EnvironmentSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
EnvironmentSummary.Builder |
lifecycleState(Environment.LifecycleState lifecycleState)
The current state of the source environment.
|
EnvironmentSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
EnvironmentSummary.Builder |
timeCreated(Date timeCreated)
The time when the source environment was created.
|
EnvironmentSummary.Builder |
timeUpdated(Date timeUpdated)
The time when the source environment was updated.
|
public EnvironmentSummary.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic EnvironmentSummary.Builder displayName(String displayName)
Environment identifier, which can be renamed.
displayName
- the value to setpublic EnvironmentSummary.Builder compartmentId(String compartmentId)
Compartment identifier.
compartmentId
- the value to setpublic EnvironmentSummary.Builder timeCreated(Date timeCreated)
The time when the source environment was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic EnvironmentSummary.Builder timeUpdated(Date timeUpdated)
The time when the source environment was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic EnvironmentSummary.Builder lifecycleState(Environment.LifecycleState lifecycleState)
The current state of the source environment.
lifecycleState
- the value to setpublic EnvironmentSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic EnvironmentSummary.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any. Each tag is a simple key-value
pair with no predefined name, type, or namespace/scope. For more information, see
Resource
Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic EnvironmentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any. Each key is predefined and scoped
to namespaces. For more information, see Resource
Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic EnvironmentSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any. The system tags are set by Oracle
cloud infrastructure services. Each key is predefined and scoped to namespaces. For more
information, see Resource
Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic EnvironmentSummary build()
public EnvironmentSummary.Builder copy(EnvironmentSummary model)
Copyright © 2016–2024. All rights reserved.