Package com.dropbox.core.v2.team
Class NamespaceMetadata.Builder
java.lang.Object
com.dropbox.core.v2.team.NamespaceMetadata.Builder
- Enclosing class:
NamespaceMetadata
Builder for
NamespaceMetadata.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final NamespaceTypeprotected longprotected String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder(String name, String namespaceId, NamespaceType namespaceType) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofNamespaceMetadataconfigured with this builder's valueswithQuotaLimit(Long quotaLimit) Set value for optional field.withTeamMemberId(String teamMemberId) Set value for optional field.
-
Field Details
-
name
-
namespaceId
-
namespaceType
-
teamMemberId
-
quotaLimit
protected long quotaLimit
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withTeamMemberId
Set value for optional field.- Parameters:
teamMemberId- If this is a team member or app folder, the ID of the owning team member. Otherwise, this field is not present.- Returns:
- this builder
-
withQuotaLimit
Set value for optional field.If left unset or set to
null, defaults to0L.- Parameters:
quotaLimit- The quota limit in bytes for this namespace tree. Only applicable to team folders. Defaults to0Lwhen set tonull.- Returns:
- this builder
-
build
Builds an instance ofNamespaceMetadataconfigured with this builder's values- Returns:
- new instance of
NamespaceMetadata
-