Class ChangeCommunityRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- ChangeCommunityRequest
public static final class ChangeCommunityRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChangeCommunityRequest
build()
ChangeCommunityRequest.Builder
but()
Deprecated.This method will be removed in the future.ChangeCommunityRequest.Builder
description(String description)
The new description for the community.ChangeCommunityRequest.Builder
id(@NotNull UUID id)
Required. The ID of the community to be changed.ChangeCommunityRequest.Builder
name(String name)
The new name for the community.ChangeCommunityRequest.Builder
parentId(UUID parentId)
The ID of the new parent community for the community.ChangeCommunityRequest.Builder
removeScopeOverlapOnMove(Boolean removeScopeOverlapOnMove)
Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent community.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public ChangeCommunityRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useChangeCommunityRequest.builder()
Clone method for this Builder.
-
id
public ChangeCommunityRequest.Builder id(@NotNull @NotNull UUID id)
Required. The ID of the community to be changed. Silently ignored if the ID is provided as path parameter of the request.- Returns:
this
.
-
parentId
public ChangeCommunityRequest.Builder parentId(UUID parentId)
The ID of the new parent community for the community.- Returns:
this
.
-
name
public ChangeCommunityRequest.Builder name(String name)
The new name for the community.- Returns:
this
.
-
description
public ChangeCommunityRequest.Builder description(String description)
The new description for the community.- Returns:
this
.
-
removeScopeOverlapOnMove
public ChangeCommunityRequest.Builder removeScopeOverlapOnMove(Boolean removeScopeOverlapOnMove)
Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent community.- Returns:
this
.
-
build
public ChangeCommunityRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-