Package com.dropbox.core.v2.teamlog
Class GovernancePolicyAddFolderFailedDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.GovernancePolicyAddFolderFailedDetails.Builder
-
- Enclosing class:
- GovernancePolicyAddFolderFailedDetails
public static class GovernancePolicyAddFolderFailedDetails.Builder extends java.lang.Object
Builder forGovernancePolicyAddFolderFailedDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
folder
protected java.lang.String
governancePolicyId
protected java.lang.String
name
protected PolicyType
policyType
protected java.lang.String
reason
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(java.lang.String governancePolicyId, java.lang.String name, java.lang.String folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GovernancePolicyAddFolderFailedDetails
build()
Builds an instance ofGovernancePolicyAddFolderFailedDetails
configured with this builder's valuesGovernancePolicyAddFolderFailedDetails.Builder
withPolicyType(PolicyType policyType)
Set value for optional field.GovernancePolicyAddFolderFailedDetails.Builder
withReason(java.lang.String reason)
Set value for optional field.
-
-
-
Field Detail
-
governancePolicyId
protected final java.lang.String governancePolicyId
-
name
protected final java.lang.String name
-
folder
protected final java.lang.String folder
-
policyType
protected PolicyType policyType
-
reason
protected java.lang.String reason
-
-
Method Detail
-
withPolicyType
public GovernancePolicyAddFolderFailedDetails.Builder withPolicyType(PolicyType policyType)
Set value for optional field.- Parameters:
policyType
- Policy type.- Returns:
- this builder
-
withReason
public GovernancePolicyAddFolderFailedDetails.Builder withReason(java.lang.String reason)
Set value for optional field.- Parameters:
reason
- Reason.- Returns:
- this builder
-
build
public GovernancePolicyAddFolderFailedDetails build()
Builds an instance ofGovernancePolicyAddFolderFailedDetails
configured with this builder's values- Returns:
- new instance of
GovernancePolicyAddFolderFailedDetails
-
-