Class AddDomainRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddDomainRequest
public static final class AddDomainRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddDomainRequest
build()
AddDomainRequest.Builder
but()
Deprecated.This method will be removed in the future.AddDomainRequest.Builder
communityId(@NotNull UUID communityId)
Required. The ID of the community that the new domain should be added to.AddDomainRequest.Builder
description(String description)
The description of the new domain.AddDomainRequest.Builder
excludedFromAutoHyperlinking(Boolean excludedFromAutoHyperlinking)
AddDomainRequest.Builder
id(UUID id)
AddDomainRequest.Builder
name(@NotNull String name)
Required. The name of the new domain.String
toString()
AddDomainRequest.Builder
typeId(@NotNull UUID typeId)
Required. The ID of the domain type of the new domain.
-
-
-
Method Detail
-
but
@Deprecated public AddDomainRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddDomainRequest.builder()
Clone method for this Builder.
-
name
public AddDomainRequest.Builder name(@NotNull @NotNull String name)
Required. The name of the new domain. Should be unique within the community.- Returns:
this
.
-
communityId
public AddDomainRequest.Builder communityId(@NotNull @NotNull UUID communityId)
Required. The ID of the community that the new domain should be added to.- Returns:
this
.
-
typeId
public AddDomainRequest.Builder typeId(@NotNull @NotNull UUID typeId)
Required. The ID of the domain type of the new domain.- Returns:
this
.
-
description
public AddDomainRequest.Builder description(String description)
The description of the new domain.- Returns:
this
.
-
id
public AddDomainRequest.Builder id(UUID id)
- Returns:
this
.
-
excludedFromAutoHyperlinking
public AddDomainRequest.Builder excludedFromAutoHyperlinking(Boolean excludedFromAutoHyperlinking)
- Returns:
this
.
-
build
public AddDomainRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-