Class AddStatusRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddStatusRequest
public static final class AddStatusRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddStatusRequest
build()
AddStatusRequest.Builder
but()
Deprecated.This method will be removed in the future.AddStatusRequest.Builder
description(String description)
The description of the new Status.AddStatusRequest.Builder
id(UUID id)
The ID of the new Status.AddStatusRequest.Builder
name(@NotNull String name)
Required. The name of the new Status.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public AddStatusRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddStatusRequest.builder()
.Clone method for this Builder.
-
id
public AddStatusRequest.Builder id(UUID id)
The ID of the new Status. Should be unique within all Statuses.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-
which is a reserved prefix.- Returns:
this
.
-
name
public AddStatusRequest.Builder name(@NotNull @NotNull String name)
Required. The name of the new Status. Should be unique within all Statuses.- Returns:
this
.
-
description
public AddStatusRequest.Builder description(String description)
The description of the new Status.- Returns:
this
.
-
build
public AddStatusRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-