Package com.dropbox.core.v2.teamlog
Class GovernancePolicyAddFoldersDetails
java.lang.Object
com.dropbox.core.v2.teamlog.GovernancePolicyAddFoldersDetails
Added folders to policy.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final PolicyType -
Constructor Summary
ConstructorsConstructorDescriptionGovernancePolicyAddFoldersDetails(String governancePolicyId, String name) Added folders to policy.GovernancePolicyAddFoldersDetails(String governancePolicyId, String name, PolicyType policyType, List<String> folders) Added folders to policy. -
Method Summary
Modifier and TypeMethodDescriptionbooleanFolders.Policy ID.getName()Policy name.Policy type.inthashCode()newBuilder(String governancePolicyId, String name) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
governancePolicyId
-
name
-
policyType
-
folders
-
-
Constructor Details
-
GovernancePolicyAddFoldersDetails
public GovernancePolicyAddFoldersDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nullable PolicyType policyType, @Nullable List<String> folders) Added folders to policy.Use
newBuilder(java.lang.String,java.lang.String)to create instances of this class without specifying values for all optional fields.- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.policyType- Policy type.folders- Folders. Must not contain anullitem.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GovernancePolicyAddFoldersDetails
Added folders to policy.The default values for unset fields will be used.
- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getGovernancePolicyId
Policy ID.- Returns:
- value for this field, never
null.
-
getName
Policy name.- Returns:
- value for this field, never
null.
-
getPolicyType
Policy type.- Returns:
- value for this field, or
nullif not present.
-
getFolders
Folders.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static GovernancePolicyAddFoldersDetails.Builder newBuilder(String governancePolicyId, String name) Returns a new builder for creating an instance of this class.- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-