public static class FleetProperty.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FleetProperty.Builder |
allowedValues(List<String> allowedValues)
Values of the property (must be a single value if selectionType = ‘SINGLE_CHOICE’).
|
FleetProperty |
build() |
FleetProperty.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
FleetProperty.Builder |
copy(FleetProperty model) |
FleetProperty.Builder |
displayName(String displayName)
A user-friendly name.
|
FleetProperty.Builder |
id(String id)
The unique id of the resource.
|
FleetProperty.Builder |
lifecycleState(FleetProperty.LifecycleState lifecycleState)
The current state of the FleetProperty.
|
FleetProperty.Builder |
propertyId(String propertyId)
OCID referring to global level metadata property.
|
FleetProperty.Builder |
selectionType(Selection selectionType)
Text selection of the property.
|
FleetProperty.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
FleetProperty.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
FleetProperty.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
FleetProperty.Builder |
value(String value)
Value of the Property.
|
FleetProperty.Builder |
valueType(ValueType valueType)
Format of the value.
|
public FleetProperty.Builder id(String id)
The unique id of the resource.
id
- the value to setpublic FleetProperty.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic FleetProperty.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 FleetProperty.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic FleetProperty.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic FleetProperty.Builder value(String value)
Value of the Property.
value
- the value to setpublic FleetProperty.Builder propertyId(String propertyId)
OCID referring to global level metadata property.
propertyId
- the value to setpublic FleetProperty.Builder selectionType(Selection selectionType)
Text selection of the property.
selectionType
- the value to setpublic FleetProperty.Builder valueType(ValueType valueType)
Format of the value.
valueType
- the value to setpublic FleetProperty.Builder allowedValues(List<String> allowedValues)
Values of the property (must be a single value if selectionType = ‘SINGLE_CHOICE’).
allowedValues
- the value to setpublic FleetProperty.Builder lifecycleState(FleetProperty.LifecycleState lifecycleState)
The current state of the FleetProperty.
lifecycleState
- the value to setpublic FleetProperty.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 FleetProperty build()
public FleetProperty.Builder copy(FleetProperty model)
Copyright © 2016–2024. All rights reserved.