Package com.dropbox.core.v2.teamlog
Class AdminAlertingAlertConfiguration.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.AdminAlertingAlertConfiguration.Builder
- Enclosing class:
AdminAlertingAlertConfiguration
Builder for
AdminAlertingAlertConfiguration.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdminAlertingAlertStatePolicyprotected Stringprotected MalwareExclusionStateprotected RecipientsConfigurationprotected AdminAlertingAlertSensitivityprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofAdminAlertingAlertConfigurationconfigured with this builder's valueswithAlertState(AdminAlertingAlertStatePolicy alertState) Set value for optional field.withExcludedFileExtensions(String excludedFileExtensions) Set value for optional field.withMalwareExclusionState(MalwareExclusionState malwareExclusionState) Set value for optional field.withRecipientsSettings(RecipientsConfiguration recipientsSettings) Set value for optional field.withSensitivityLevel(AdminAlertingAlertSensitivity sensitivityLevel) Set value for optional field.Set value for optional field.
-
Field Details
-
alertState
-
sensitivityLevel
-
recipientsSettings
-
text
-
excludedFileExtensions
-
malwareExclusionState
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withAlertState
public AdminAlertingAlertConfiguration.Builder withAlertState(AdminAlertingAlertStatePolicy alertState) Set value for optional field.- Parameters:
alertState- Alert state.- Returns:
- this builder
-
withSensitivityLevel
public AdminAlertingAlertConfiguration.Builder withSensitivityLevel(AdminAlertingAlertSensitivity sensitivityLevel) Set value for optional field.- Parameters:
sensitivityLevel- Sensitivity level.- Returns:
- this builder
-
withRecipientsSettings
public AdminAlertingAlertConfiguration.Builder withRecipientsSettings(RecipientsConfiguration recipientsSettings) Set value for optional field.- Parameters:
recipientsSettings- Recipient settings.- Returns:
- this builder
-
withText
Set value for optional field.- Parameters:
text- Text.- Returns:
- this builder
-
withExcludedFileExtensions
public AdminAlertingAlertConfiguration.Builder withExcludedFileExtensions(String excludedFileExtensions) Set value for optional field.- Parameters:
excludedFileExtensions- Excluded file extensions.- Returns:
- this builder
-
withMalwareExclusionState
public AdminAlertingAlertConfiguration.Builder withMalwareExclusionState(MalwareExclusionState malwareExclusionState) Set value for optional field.- Parameters:
malwareExclusionState- Malware exclusion list state.- Returns:
- this builder
-
build
Builds an instance ofAdminAlertingAlertConfigurationconfigured with this builder's values- Returns:
- new instance of
AdminAlertingAlertConfiguration
-