public static class CreatePropertyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreatePropertyDetails |
build() |
CreatePropertyDetails.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
CreatePropertyDetails.Builder |
copy(CreatePropertyDetails model) |
CreatePropertyDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreatePropertyDetails.Builder |
selection(Selection selection)
Text selection of the property.
|
CreatePropertyDetails.Builder |
values(List<String> values)
Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).
|
CreatePropertyDetails.Builder |
valueType(ValueType valueType)
Format of the value.
|
public CreatePropertyDetails.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic CreatePropertyDetails.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 CreatePropertyDetails.Builder selection(Selection selection)
Text selection of the property.
selection
- the value to setpublic CreatePropertyDetails.Builder valueType(ValueType valueType)
Format of the value.
valueType
- the value to setpublic CreatePropertyDetails.Builder values(List<String> values)
Values of the property (must be a single value if selection = ‘SINGLE_CHOICE’).
values
- the value to setpublic CreatePropertyDetails build()
public CreatePropertyDetails.Builder copy(CreatePropertyDetails model)
Copyright © 2016–2024. All rights reserved.