Package com.dropbox.core.v2.teamlog
Class DashExternalUserOpenedStackDetails.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.DashExternalUserOpenedStackDetails.Builder
- Enclosing class:
DashExternalUserOpenedStackDetails
Builder for
DashExternalUserOpenedStackDetails.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final booleanprotected final Stringprotected Longprotected final DashStackSharingScopeprotected DashStackType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder(String stackName, DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofDashExternalUserOpenedStackDetailsconfigured with this builder's valueswithStackOwnerTeamId(Long stackOwnerTeamId) Set value for optional field.withStackType(DashStackType stackType) Set value for optional field.
-
Field Details
-
stackName
-
stackSharingScope
-
isInvited
protected final boolean isInvited -
isVerified
protected final boolean isVerified -
stackOwnerTeamId
-
stackType
-
-
Constructor Details
-
Builder
protected Builder(String stackName, DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified)
-
-
Method Details
-
withStackOwnerTeamId
Set value for optional field.- Parameters:
stackOwnerTeamId- The team ID of the stack owner.- Returns:
- this builder
-
withStackType
Set value for optional field.- Parameters:
stackType- The type of stack backend.- Returns:
- this builder
-
build
Builds an instance ofDashExternalUserOpenedStackDetailsconfigured with this builder's values- Returns:
- new instance of
DashExternalUserOpenedStackDetails
-