Class FederationRuleWorkspace.Builder
-
- All Implemented Interfaces:
public final class FederationRuleWorkspace.BuilderA builder for FederationRuleWorkspace.
-
-
Method Summary
-
-
Method Detail
-
createdAt
final FederationRuleWorkspace.Builder createdAt(OffsetDateTime createdAt)
When this workspace was enabled for the rule.
-
createdAt
final FederationRuleWorkspace.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 FederationRuleWorkspace.Builder createdByActorId(String createdByActorId)
Tagged ID (
user_...orsvac_...) of the actor that enabled this workspace for the rule, if known.
-
createdByActorId
final FederationRuleWorkspace.Builder createdByActorId(Optional<String> createdByActorId)
Alias for calling Builder.createdByActorId with
createdByActorId.orElse(null).
-
createdByActorId
final FederationRuleWorkspace.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 FederationRuleWorkspace.Builder federationRuleId(String federationRuleId)
Tagged ID of the federation rule.
-
federationRuleId
final FederationRuleWorkspace.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 FederationRuleWorkspace.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 FederationRuleWorkspace.Builder workspaceId(String workspaceId)
Tagged ID of the workspace this rule is enabled for.
-
workspaceId
final FederationRuleWorkspace.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 FederationRuleWorkspace.Builder workspaceName(String workspaceName)
Workspace display name. Populated when listing; null in the enable response.
-
workspaceName
final FederationRuleWorkspace.Builder workspaceName(Optional<String> workspaceName)
Alias for calling Builder.workspaceName with
workspaceName.orElse(null).
-
workspaceName
final FederationRuleWorkspace.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 FederationRuleWorkspace.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FederationRuleWorkspace.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FederationRuleWorkspace.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FederationRuleWorkspace.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FederationRuleWorkspace.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FederationRuleWorkspace build()
Returns an immutable instance of FederationRuleWorkspace.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.createdAt() .createdByActorId() .federationRuleId() .workspaceId() .workspaceName()
-
-
-
-