Package com.dropbox.core.v2.teamlog
Class ProtectInternalDomainsChangedDetails.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.ProtectInternalDomainsChangedDetails.Builder
- Enclosing class:
ProtectInternalDomainsChangedDetails
Builder for
ProtectInternalDomainsChangedDetails.-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofProtectInternalDomainsChangedDetailsconfigured with this builder's valueswithDomainsAdded(List<String> domainsAdded) Set value for optional field.withDomainsRemoved(List<String> domainsRemoved) Set value for optional field.
-
Field Details
-
domainsAdded
-
domainsRemoved
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withDomainsAdded
Set value for optional field.- Parameters:
domainsAdded- Domains added to the internal domains list. Must not contain anullitem.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
withDomainsRemoved
Set value for optional field.- Parameters:
domainsRemoved- Domains removed from the internal domains list. Must not contain anullitem.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
build
Builds an instance ofProtectInternalDomainsChangedDetailsconfigured with this builder's values- Returns:
- new instance of
ProtectInternalDomainsChangedDetails
-