Package com.dropbox.core.v2.teamlog
Class GuestAdminChangeStatusDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.GuestAdminChangeStatusDetails.Builder
-
- Enclosing class:
- GuestAdminChangeStatusDetails
public static class GuestAdminChangeStatusDetails.Builder extends java.lang.Object
Builder forGuestAdminChangeStatusDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected TrustedTeamsRequestAction
actionDetails
protected java.lang.String
guestTeamName
protected java.lang.String
hostTeamName
protected boolean
isGuest
protected TrustedTeamsRequestState
newValue
protected TrustedTeamsRequestState
previousValue
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(boolean isGuest, TrustedTeamsRequestState previousValue, TrustedTeamsRequestState newValue, TrustedTeamsRequestAction actionDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestAdminChangeStatusDetails
build()
Builds an instance ofGuestAdminChangeStatusDetails
configured with this builder's valuesGuestAdminChangeStatusDetails.Builder
withGuestTeamName(java.lang.String guestTeamName)
Set value for optional field.GuestAdminChangeStatusDetails.Builder
withHostTeamName(java.lang.String hostTeamName)
Set value for optional field.
-
-
-
Field Detail
-
isGuest
protected final boolean isGuest
-
previousValue
protected final TrustedTeamsRequestState previousValue
-
newValue
protected final TrustedTeamsRequestState newValue
-
actionDetails
protected final TrustedTeamsRequestAction actionDetails
-
guestTeamName
protected java.lang.String guestTeamName
-
hostTeamName
protected java.lang.String hostTeamName
-
-
Constructor Detail
-
Builder
protected Builder(boolean isGuest, TrustedTeamsRequestState previousValue, TrustedTeamsRequestState newValue, TrustedTeamsRequestAction actionDetails)
-
-
Method Detail
-
withGuestTeamName
public GuestAdminChangeStatusDetails.Builder withGuestTeamName(java.lang.String guestTeamName)
Set value for optional field.- Parameters:
guestTeamName
- The name of the guest team.- Returns:
- this builder
-
withHostTeamName
public GuestAdminChangeStatusDetails.Builder withHostTeamName(java.lang.String hostTeamName)
Set value for optional field.- Parameters:
hostTeamName
- The name of the host team.- Returns:
- this builder
-
build
public GuestAdminChangeStatusDetails build()
Builds an instance ofGuestAdminChangeStatusDetails
configured with this builder's values- Returns:
- new instance of
GuestAdminChangeStatusDetails
-
-