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