Class DataRetentionUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class DataRetentionUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
Modifier and Type Method Description final DataRetentionUpdateParams.Body.BuilderretentionType(DataRetentionUpdateParams.RetentionType retentionType)The desired organization data retention type. final DataRetentionUpdateParams.Body.BuilderretentionType(JsonField<DataRetentionUpdateParams.RetentionType> retentionType)Sets Builder.retentionType to an arbitrary JSON value. final DataRetentionUpdateParams.Body.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final DataRetentionUpdateParams.Body.BuilderputAdditionalProperty(String key, JsonValue value)final DataRetentionUpdateParams.Body.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final DataRetentionUpdateParams.Body.BuilderremoveAdditionalProperty(String key)final DataRetentionUpdateParams.Body.BuilderremoveAllAdditionalProperties(Set<String> keys)final DataRetentionUpdateParams.Bodybuild()Returns an immutable instance of Body. -
-
Method Detail
-
retentionType
final DataRetentionUpdateParams.Body.Builder retentionType(DataRetentionUpdateParams.RetentionType retentionType)
The desired organization data retention type.
-
retentionType
final DataRetentionUpdateParams.Body.Builder retentionType(JsonField<DataRetentionUpdateParams.RetentionType> retentionType)
Sets Builder.retentionType to an arbitrary JSON value.
You should usually call Builder.retentionType with a well-typed RetentionType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final DataRetentionUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DataRetentionUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DataRetentionUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DataRetentionUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DataRetentionUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DataRetentionUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.retentionType()
-
-
-
-