Class BetaFederationRuleWorkspace.Builder
-
- All Implemented Interfaces:
public final class BetaFederationRuleWorkspace.BuilderA builder for BetaFederationRuleWorkspace.
-
-
Method Summary
-
-
Method Detail
-
createdAt
final BetaFederationRuleWorkspace.Builder createdAt(OffsetDateTime createdAt)
When this workspace was enabled for the rule.
-
createdAt
final BetaFederationRuleWorkspace.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdByActorId
final BetaFederationRuleWorkspace.Builder createdByActorId(String createdByActorId)
Tagged ID (
user_...orsvac_...) of the actor that enabled this workspace for the rule, if known.
-
createdByActorId
final BetaFederationRuleWorkspace.Builder createdByActorId(Optional<String> createdByActorId)
Alias for calling Builder.createdByActorId with
createdByActorId.orElse(null).
-
createdByActorId
final BetaFederationRuleWorkspace.Builder createdByActorId(JsonField<String> createdByActorId)
Sets Builder.createdByActorId to an arbitrary JSON value.
You should usually call Builder.createdByActorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
federationRuleId
final BetaFederationRuleWorkspace.Builder federationRuleId(String federationRuleId)
Tagged ID of the federation rule.
-
federationRuleId
final BetaFederationRuleWorkspace.Builder federationRuleId(JsonField<String> federationRuleId)
Sets Builder.federationRuleId to an arbitrary JSON value.
You should usually call Builder.federationRuleId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaFederationRuleWorkspace.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("federation_rule_workspace")This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceId
final BetaFederationRuleWorkspace.Builder workspaceId(String workspaceId)
Tagged ID of the workspace this rule is enabled for.
-
workspaceId
final BetaFederationRuleWorkspace.Builder workspaceId(JsonField<String> workspaceId)
Sets Builder.workspaceId to an arbitrary JSON value.
You should usually call Builder.workspaceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceName
final BetaFederationRuleWorkspace.Builder workspaceName(String workspaceName)
Workspace display name. Populated when listing; null in the enable response.
-
workspaceName
final BetaFederationRuleWorkspace.Builder workspaceName(Optional<String> workspaceName)
Alias for calling Builder.workspaceName with
workspaceName.orElse(null).
-
workspaceName
final BetaFederationRuleWorkspace.Builder workspaceName(JsonField<String> workspaceName)
Sets Builder.workspaceName to an arbitrary JSON value.
You should usually call Builder.workspaceName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaFederationRuleWorkspace.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaFederationRuleWorkspace.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaFederationRuleWorkspace.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaFederationRuleWorkspace.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaFederationRuleWorkspace.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaFederationRuleWorkspace build()
Returns an immutable instance of BetaFederationRuleWorkspace.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.createdAt() .createdByActorId() .federationRuleId() .workspaceId() .workspaceName()
-
-
-
-