Class BetaTelemetryDestinationWorkspacesExcludeParams.Builder
-
- All Implemented Interfaces:
public final class BetaTelemetryDestinationWorkspacesExcludeParams.BuilderA builder for BetaTelemetryDestinationWorkspacesExcludeParams.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaTelemetryDestinationWorkspacesExcludeParams.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("exclude")This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceIds
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder workspaceIds(List<String> workspaceIds)
The IDs of the workspaces on the destination's list (
wrkspc_...). At most 100 per request.On create, these workspaces become the destination's list. If you leave
workspace_idsout, the list starts empty. If the API refuses one of the IDs, it doesn't create the destination.On update,
workspace_idsreplaces the whole list. A workspace that stays on the list keeps its entry and itscreated_at. An empty array empties the list. If you leaveworkspace_idsout and the type stays the same, the list doesn't change. If you leave it out and the type changes, the new list starts empty. After a change toincludewithoutworkspace_ids, the destination doesn't cover any workspace until one is added. After a change toexcludewithoutworkspace_ids, it covers every workspace.An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.
-
workspaceIds
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder workspaceIds(JsonField<List<String>> workspaceIds)
Sets Builder.workspaceIds to an arbitrary JSON value.
You should usually call Builder.workspaceIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addWorkspaceId
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder addWorkspaceId(String workspaceId)
Adds a single String to workspaceIds.
-
putAdditionalProperty
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaTelemetryDestinationWorkspacesExcludeParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaTelemetryDestinationWorkspacesExcludeParams build()
Returns an immutable instance of BetaTelemetryDestinationWorkspacesExcludeParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-