Package com.dropbox.core.v2.teamlog
Class GovernancePolicyAddFolderFailedDetails
java.lang.Object
com.dropbox.core.v2.teamlog.GovernancePolicyAddFolderFailedDetails
Couldn't add a folder to a policy.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forGovernancePolicyAddFolderFailedDetails. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final Stringprotected final PolicyTypeprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionGovernancePolicyAddFolderFailedDetails(String governancePolicyId, String name, String folder) Couldn't add a folder to a policy.GovernancePolicyAddFolderFailedDetails(String governancePolicyId, String name, String folder, PolicyType policyType, String reason) Couldn't add a folder to a policy. -
Method Summary
Modifier and TypeMethodDescriptionbooleanFolder.Policy ID.getName()Policy name.Policy type.Reason.inthashCode()newBuilder(String governancePolicyId, String name, String folder) 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
-
folder
-
reason
-
-
Constructor Details
-
GovernancePolicyAddFolderFailedDetails
public GovernancePolicyAddFolderFailedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String folder, @Nullable PolicyType policyType, @Nullable String reason) Couldn't add a folder to a policy.Use
newBuilder(java.lang.String,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.folder- Folder. Must not benull.policyType- Policy type.reason- Reason.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GovernancePolicyAddFolderFailedDetails
public GovernancePolicyAddFolderFailedDetails(@Nonnull String governancePolicyId, @Nonnull String name, @Nonnull String folder) Couldn't add a folder to a policy.The default values for unset fields will be used.
- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.folder- Folder. 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.
-
getFolder
Folder.- Returns:
- value for this field, never
null.
-
getPolicyType
Policy type.- Returns:
- value for this field, or
nullif not present.
-
getReason
Reason.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static GovernancePolicyAddFolderFailedDetails.Builder newBuilder(String governancePolicyId, String name, String folder) Returns a new builder for creating an instance of this class.- Parameters:
governancePolicyId- Policy ID. Must not benull.name- Policy name. Must not benull.folder- Folder. 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
-