Interface Node.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Node.Builder,,Node> SdkBuilder<Node.Builder,,Node> SdkPojo
- Enclosing class:
Node
-
Method Summary
Modifier and TypeMethodDescriptionalternateNames(String... alternateNames) Other names this node was observed under.alternateNames(Collection<String> alternateNames) Other names this node was observed under.edges(Collection<Edge> edges) Outbound edges originating from this node.edges(Consumer<Edge.Builder>... edges) Outbound edges originating from this node.Outbound edges originating from this node.firstObservedAt(Instant firstObservedAt) When this node was first observed (UTC), at minute granularity.lastObservedAt(Instant lastObservedAt) When this node was most recently observed (UTC), at minute granularity.default Node.Buildermetadata(Consumer<Metadata.Builder> metadata) Descriptive metadata about the node.Descriptive metadata about the node.The primary display name of the node.The unique identifier of the node within the context graph.default Node.BuildernodeProperties(Consumer<NodeProperties.Builder> nodeProperties) Identity attributes promoted out of the flat attribute map onto typed members.nodeProperties(NodeProperties nodeProperties) Identity attributes promoted out of the flat attribute map onto typed members.Whether the node is a service, a resource, or a remote service.Whether the node is a service, a resource, or a remote service.operationDetails(Map<String, ? extends Collection<? extends Map<String, String>>> operationDetails) The operations observed on this node, keyed by operation name.signalTypes(Collection<Signal> signalTypes) The kinds of telemetry signal observed on this node.signalTypes(Signal... signalTypes) The kinds of telemetry signal observed on this node.signalTypesWithStrings(String... signalTypes) The kinds of telemetry signal observed on this node.signalTypesWithStrings(Collection<String> signalTypes) The kinds of telemetry signal observed on this node.sources(Collection<Source> sources) The discovery sources that contributed this node.The discovery sources that contributed this node.sourcesWithStrings(String... sources) The discovery sources that contributed this node.sourcesWithStrings(Collection<String> sources) The discovery sources that contributed this node.The tags observed on the underlying resource.telemetryAttributes(Map<String, String> telemetryAttributes) The node's OpenTelemetry (OTel) attributes, as emitted by telemetry — the raw values, as opposed to the normalizednodeProperties.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nodeId
The unique identifier of the node within the context graph.
- Parameters:
nodeId- The unique identifier of the node within the context graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
Whether the node is a service, a resource, or a remote service.
- Parameters:
nodeType- Whether the node is a service, a resource, or a remote service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeType
Whether the node is a service, a resource, or a remote service.
- Parameters:
nodeType- Whether the node is a service, a resource, or a remote service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The primary display name of the node.
- Parameters:
name- The primary display name of the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternateNames
Other names this node was observed under. A node that merged across sources reports one resolved name, and the names it was merged away from appear here.
- Parameters:
alternateNames- Other names this node was observed under. A node that merged across sources reports one resolved name, and the names it was merged away from appear here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternateNames
Other names this node was observed under. A node that merged across sources reports one resolved name, and the names it was merged away from appear here.
- Parameters:
alternateNames- Other names this node was observed under. A node that merged across sources reports one resolved name, and the names it was merged away from appear here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags observed on the underlying resource.
- Parameters:
tags- The tags observed on the underlying resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeProperties
Identity attributes promoted out of the flat attribute map onto typed members.
- Parameters:
nodeProperties- Identity attributes promoted out of the flat attribute map onto typed members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeProperties
Identity attributes promoted out of the flat attribute map onto typed members.
This is a convenience method that creates an instance of theNodeProperties.Builderavoiding the need to create one manually viaNodeProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodeProperties(NodeProperties).- Parameters:
nodeProperties- a consumer that will call methods onNodeProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
telemetryAttributes
The node's OpenTelemetry (OTel) attributes, as emitted by telemetry — the raw values, as opposed to the normalized
nodeProperties. A key promoted onto anodePropertiesmember is removed here, so no value appears twice.- Parameters:
telemetryAttributes- The node's OpenTelemetry (OTel) attributes, as emitted by telemetry — the raw values, as opposed to the normalizednodeProperties. A key promoted onto anodePropertiesmember is removed here, so no value appears twice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationDetails
Node.Builder operationDetails(Map<String, ? extends Collection<? extends Map<String, String>>> operationDetails) The operations observed on this node, keyed by operation name. Each value lists the dimension sets that identify the metric series for that operation.
- Parameters:
operationDetails- The operations observed on this node, keyed by operation name. Each value lists the dimension sets that identify the metric series for that operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypesWithStrings
The kinds of telemetry signal observed on this node.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypesWithStrings
The kinds of telemetry signal observed on this node.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypes
The kinds of telemetry signal observed on this node.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypes
The kinds of telemetry signal observed on this node.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcesWithStrings
The discovery sources that contributed this node.
- Parameters:
sources- The discovery sources that contributed this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcesWithStrings
The discovery sources that contributed this node.
- Parameters:
sources- The discovery sources that contributed this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The discovery sources that contributed this node.
- Parameters:
sources- The discovery sources that contributed this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The discovery sources that contributed this node.
- Parameters:
sources- The discovery sources that contributed this node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Descriptive metadata about the node. Present only when the request sets includeMetadata.
- Parameters:
metadata- Descriptive metadata about the node. Present only when the request sets includeMetadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Descriptive metadata about the node. Present only when the request sets includeMetadata.
This is a convenience method that creates an instance of theMetadata.Builderavoiding the need to create one manually viaMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(Metadata).- Parameters:
metadata- a consumer that will call methods onMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firstObservedAt
When this node was first observed (UTC), at minute granularity. For a node that merged across sources, this is the earliest value any source reported.
- Parameters:
firstObservedAt- When this node was first observed (UTC), at minute granularity. For a node that merged across sources, this is the earliest value any source reported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastObservedAt
When this node was most recently observed (UTC), at minute granularity. For a node that merged across sources, this is the latest value any source reported.
- Parameters:
lastObservedAt- When this node was most recently observed (UTC), at minute granularity. For a node that merged across sources, this is the latest value any source reported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
Outbound edges originating from this node. Each edge carries its
from.- Parameters:
edges- Outbound edges originating from this node. Each edge carries itsfrom.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
Outbound edges originating from this node. Each edge carries its
from.- Parameters:
edges- Outbound edges originating from this node. Each edge carries itsfrom.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
Outbound edges originating from this node. Each edge carries its
This is a convenience method that creates an instance of thefrom.Edge.Builderavoiding the need to create one manually viaEdge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toedges(List<Edge>).- Parameters:
edges- a consumer that will call methods onEdge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-