Class CannotRemoveLastMemberErrorDetails.Builder
-
- All Implemented Interfaces:
public final class CannotRemoveLastMemberErrorDetails.BuilderA builder for CannotRemoveLastMemberErrorDetails.
-
-
Method Summary
Modifier and Type Method Description final CannotRemoveLastMemberErrorDetails.BuildererrorCode(JsonValue errorCode)Sets the field to an arbitrary JSON value. final CannotRemoveLastMemberErrorDetails.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final CannotRemoveLastMemberErrorDetails.BuilderputAdditionalProperty(String key, JsonValue value)final CannotRemoveLastMemberErrorDetails.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final CannotRemoveLastMemberErrorDetails.BuilderremoveAdditionalProperty(String key)final CannotRemoveLastMemberErrorDetails.BuilderremoveAllAdditionalProperties(Set<String> keys)final CannotRemoveLastMemberErrorDetailsbuild()Returns an immutable instance of CannotRemoveLastMemberErrorDetails. -
-
Method Detail
-
errorCode
final CannotRemoveLastMemberErrorDetails.Builder errorCode(JsonValue errorCode)
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("cannot_remove_last_member")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CannotRemoveLastMemberErrorDetails.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CannotRemoveLastMemberErrorDetails.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CannotRemoveLastMemberErrorDetails.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CannotRemoveLastMemberErrorDetails.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CannotRemoveLastMemberErrorDetails.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CannotRemoveLastMemberErrorDetails build()
Returns an immutable instance of CannotRemoveLastMemberErrorDetails.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-