Class AddCommunityRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddCommunityRequest
public static class AddCommunityRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddCommunityRequest
build()
AddCommunityRequest.Builder
but()
Deprecated.This method will be removed in the future.AddCommunityRequest.Builder
description(String description)
The description of the new community.AddCommunityRequest.Builder
id(UUID id)
The ID of the new community.AddCommunityRequest.Builder
name(@NotNull String name)
Required. The name (required) of the new community.AddCommunityRequest.Builder
parentId(UUID parentId)
The ID of the parent for the new community.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public AddCommunityRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddCommunityRequest.builder()
Clone method for this Builder.
-
parentId
public AddCommunityRequest.Builder parentId(UUID parentId)
The ID of the parent for the new community.- Returns:
this
.
-
name
public AddCommunityRequest.Builder name(@NotNull @NotNull String name)
Required. The name (required) of the new community. Should be unique across all communities.- Returns:
this
.
-
description
public AddCommunityRequest.Builder description(String description)
The description of the new community.- Returns:
this
.
-
id
public AddCommunityRequest.Builder id(UUID id)
The ID of the new community.- Returns:
this
.
-
build
public AddCommunityRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-