Class ChangeAttributeRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- ChangeAttributeRequest
public static final class ChangeAttributeRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChangeAttributeRequest
build()
ChangeAttributeRequest.Builder
but()
Deprecated.This method will be removed in the future.ChangeAttributeRequest.Builder
id(@NotNull UUID id)
Required. The ID of the attribute to be changed.String
toString()
ChangeAttributeRequest.Builder
value(@NotNull Object value)
Required. The value of this attribute.
-
-
-
Method Detail
-
but
@Deprecated public ChangeAttributeRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useChangeAttributeRequest.builder()
Clone method for this Builder.
-
id
public ChangeAttributeRequest.Builder id(@NotNull @NotNull UUID id)
Required. The ID of the attribute to be changed. Silently ignored if the ID is provided as path parameter of the request.- Returns:
this
.
-
value
public ChangeAttributeRequest.Builder value(@NotNull @NotNull Object value)
Required. The value of this attribute. Expected type of the value depends on the type of the attribute. Following list presents type of the value depending on the kind of the attribute- kind:
NumericAttribute
-> value Class:Double
orString
- kind:
ScriptAttribute
-> value Class:String
- kind:
SingleValueListAttribute
-> value Class:String
- kind:
DateAttribute
-> value class:Long
orString
- kind:
StringAttribute
-> value class:String
- kind:
BooleanAttribute
-> value class:Boolean
orString
- kind:
MultiValueListAttribute
-> value class:List
ofString
- Returns:
this
.
- kind:
-
build
public ChangeAttributeRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-