Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Property |
build() |
Property.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
Property.Builder |
copy(Property model) |
Property.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Property.Builder |
displayName(String displayName)
A user-friendly name.
|
Property.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Property.Builder |
id(String id)
The OCID of the resource.
|
Property.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Property.Builder |
lifecycleState(Property.LifecycleState lifecycleState)
The current state of the Property.
|
Property.Builder |
resourceRegion(String resourceRegion)
Associated region
|
Property.Builder |
scope(Scope scope)
The scope of the property.
|
Property.Builder |
selection(Selection selection)
Text selection of the property.
|
Property.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Property.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
Property.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
Property.Builder |
type(Property.Type type)
The type of the property.
|
Property.Builder |
values(List<String> values)
Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).
|
Property.Builder |
valueType(ValueType valueType)
Format of the value.
|
public Property.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic Property.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic Property.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic Property.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Property.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Property.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic Property.Builder lifecycleState(Property.LifecycleState lifecycleState)
The current state of the Property.
lifecycleState
- the value to setpublic Property.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 Property.Builder selection(Selection selection)
Text selection of the property.
selection
- the value to setpublic Property.Builder valueType(ValueType valueType)
Format of the value.
valueType
- the value to setpublic Property.Builder values(List<String> values)
Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).
values
- the value to setpublic Property.Builder scope(Scope scope)
The scope of the property.
scope
- the value to setpublic Property.Builder type(Property.Type type)
The type of the property.
type
- the value to setpublic Property.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. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic Property.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Property.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Property build()
public Property.Builder copy(Property model)
Copyright © 2016–2024. All rights reserved.