Class BetaComplianceSettings.Builder
-
- All Implemented Interfaces:
public final class BetaComplianceSettings.BuilderA builder for BetaComplianceSettings.
-
-
Method Summary
-
-
Method Detail
-
state
final BetaComplianceSettings.Builder state(BetaComplianceSettingsState state)
Whether the Compliance API is enabled for this organization.
-
state
final BetaComplianceSettings.Builder state(JsonField<BetaComplianceSettingsState> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed BetaComplianceSettingsState value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final BetaComplianceSettings.Builder state(BetaComplianceSettingsStateEnabled enabled)
Alias for calling state with
BetaComplianceSettingsState.ofEnabled(enabled).
-
state
final BetaComplianceSettings.Builder state(BetaComplianceSettingsStateDisabled disabled)
Alias for calling state with
BetaComplianceSettingsState.ofDisabled(disabled).
-
type
final BetaComplianceSettings.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("compliance_settings")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaComplianceSettings.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaComplianceSettings.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaComplianceSettings.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaComplianceSettings.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaComplianceSettings.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaComplianceSettings build()
Returns an immutable instance of BetaComplianceSettings.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.state()
-
-
-
-