Package com.dropbox.core.v2.teamlog
Class AdminAlertingAlertConfiguration.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.AdminAlertingAlertConfiguration.Builder
-
- Enclosing class:
- AdminAlertingAlertConfiguration
public static class AdminAlertingAlertConfiguration.Builder extends java.lang.Object
Builder forAdminAlertingAlertConfiguration
.
-
-
Field Summary
Fields Modifier and Type Field Description protected AdminAlertingAlertStatePolicy
alertState
protected java.lang.String
excludedFileExtensions
protected RecipientsConfiguration
recipientsSettings
protected AdminAlertingAlertSensitivity
sensitivityLevel
protected java.lang.String
text
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminAlertingAlertConfiguration
build()
Builds an instance ofAdminAlertingAlertConfiguration
configured with this builder's valuesAdminAlertingAlertConfiguration.Builder
withAlertState(AdminAlertingAlertStatePolicy alertState)
Set value for optional field.AdminAlertingAlertConfiguration.Builder
withExcludedFileExtensions(java.lang.String excludedFileExtensions)
Set value for optional field.AdminAlertingAlertConfiguration.Builder
withRecipientsSettings(RecipientsConfiguration recipientsSettings)
Set value for optional field.AdminAlertingAlertConfiguration.Builder
withSensitivityLevel(AdminAlertingAlertSensitivity sensitivityLevel)
Set value for optional field.AdminAlertingAlertConfiguration.Builder
withText(java.lang.String text)
Set value for optional field.
-
-
-
Field Detail
-
alertState
protected AdminAlertingAlertStatePolicy alertState
-
sensitivityLevel
protected AdminAlertingAlertSensitivity sensitivityLevel
-
recipientsSettings
protected RecipientsConfiguration recipientsSettings
-
text
protected java.lang.String text
-
excludedFileExtensions
protected java.lang.String excludedFileExtensions
-
-
Method Detail
-
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
public AdminAlertingAlertConfiguration.Builder withText(java.lang.String text)
Set value for optional field.- Parameters:
text
- Text.- Returns:
- this builder
-
withExcludedFileExtensions
public AdminAlertingAlertConfiguration.Builder withExcludedFileExtensions(java.lang.String excludedFileExtensions)
Set value for optional field.- Parameters:
excludedFileExtensions
- Excluded file extensions.- Returns:
- this builder
-
build
public AdminAlertingAlertConfiguration build()
Builds an instance ofAdminAlertingAlertConfiguration
configured with this builder's values- Returns:
- new instance of
AdminAlertingAlertConfiguration
-
-