public static class PropertySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PropertySummary |
build() |
PropertySummary.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
PropertySummary.Builder |
copy(PropertySummary model) |
PropertySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PropertySummary.Builder |
displayName(String displayName)
A user-friendly name.
|
PropertySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
PropertySummary.Builder |
id(String id)
The OCID of the resource.
|
PropertySummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
PropertySummary.Builder |
lifecycleState(Property.LifecycleState lifecycleState)
The current state of the Property.
|
PropertySummary.Builder |
resourceRegion(String resourceRegion)
Associated region
|
PropertySummary.Builder |
scope(Scope scope)
The scope of the property.
|
PropertySummary.Builder |
selection(Selection selection)
Text selection of the property.
|
PropertySummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
PropertySummary.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
PropertySummary.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
PropertySummary.Builder |
type(Property.Type type)
The type of the property.
|
PropertySummary.Builder |
values(List<String> values)
Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).
|
PropertySummary.Builder |
valueType(ValueType valueType)
Format of the value.
|
public PropertySummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic PropertySummary.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic PropertySummary.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 PropertySummary.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic PropertySummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic PropertySummary.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic PropertySummary.Builder lifecycleState(Property.LifecycleState lifecycleState)
The current state of the Property.
lifecycleState
- the value to setpublic PropertySummary.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 PropertySummary.Builder selection(Selection selection)
Text selection of the property.
selection
- the value to setpublic PropertySummary.Builder valueType(ValueType valueType)
Format of the value.
valueType
- the value to setpublic PropertySummary.Builder values(List<String> values)
Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).
values
- the value to setpublic PropertySummary.Builder scope(Scope scope)
The scope of the property.
scope
- the value to setpublic PropertySummary.Builder type(Property.Type type)
The type of the property.
type
- the value to setpublic PropertySummary.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 PropertySummary.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 PropertySummary.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 PropertySummary build()
public PropertySummary.Builder copy(PropertySummary model)
Copyright © 2016–2024. All rights reserved.