Interface Edge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Edge.Builder,,Edge> SdkBuilder<Edge.Builder,,Edge> SdkPojo
- Enclosing class:
Edge
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the edge within the context graph.default Edge.BuilderedgeProperties(Consumer<EdgeProperties.Builder> edgeProperties) Attributes promoted out of the flat attribute map onto typed members.edgeProperties(EdgeProperties edgeProperties) Attributes promoted out of the flat attribute map onto typed members.The kind of relationship the edge represents.The kind of relationship the edge represents.firstObservedAt(Instant firstObservedAt) When this edge was first observed (UTC), at minute granularity.The node identifier the edge originates from.lastObservedAt(Instant lastObservedAt) When this edge was most recently observed (UTC), at minute granularity.default Edge.Buildermetadata(Consumer<Metadata.Builder> metadata) Descriptive metadata about the edge.Descriptive metadata about the edge.operations(String... operations) The operations observed on this edge.operations(Collection<String> operations) The operations observed on this edge.signalTypes(Collection<Signal> signalTypes) The kinds of telemetry signal observed on this edge.signalTypes(Signal... signalTypes) The kinds of telemetry signal observed on this edge.signalTypesWithStrings(String... signalTypes) The kinds of telemetry signal observed on this edge.signalTypesWithStrings(Collection<String> signalTypes) The kinds of telemetry signal observed on this edge.sources(Collection<Source> sources) The discovery sources that contributed this edge.The discovery sources that contributed this edge.sourcesWithStrings(String... sources) The discovery sources that contributed this edge.sourcesWithStrings(Collection<String> sources) The discovery sources that contributed this edge.telemetryAttributes(Map<String, String> telemetryAttributes) The edge's OpenTelemetry (OTel) attributes, as emitted by telemetry.The node identifier the edge points to.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
-
edgeId
The unique identifier of the edge within the context graph.
- Parameters:
edgeId- The unique identifier of the edge within the context graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
from
The node identifier the edge originates from.
- Parameters:
from- The node identifier the edge originates from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
The node identifier the edge points to.
- Parameters:
to- The node identifier the edge points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edgeType
The kind of relationship the edge represents.
- Parameters:
edgeType- The kind of relationship the edge represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
edgeType
The kind of relationship the edge represents.
- Parameters:
edgeType- The kind of relationship the edge represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operations
The operations observed on this edge.
- Parameters:
operations- The operations observed on this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
The operations observed on this edge.
- Parameters:
operations- The operations observed on this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edgeProperties
Attributes promoted out of the flat attribute map onto typed members. Which members are present depends on what produced the edge.
- Parameters:
edgeProperties- Attributes promoted out of the flat attribute map onto typed members. Which members are present depends on what produced the edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edgeProperties
Attributes promoted out of the flat attribute map onto typed members. Which members are present depends on what produced the edge.
This is a convenience method that creates an instance of theEdgeProperties.Builderavoiding the need to create one manually viaEdgeProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toedgeProperties(EdgeProperties).- Parameters:
edgeProperties- a consumer that will call methods onEdgeProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
telemetryAttributes
The edge's OpenTelemetry (OTel) attributes, as emitted by telemetry. A key promoted onto an
edgePropertiesmember is removed here, so no value appears twice.- Parameters:
telemetryAttributes- The edge's OpenTelemetry (OTel) attributes, as emitted by telemetry. A key promoted onto anedgePropertiesmember is removed here, so no value appears twice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypesWithStrings
The kinds of telemetry signal observed on this edge.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypesWithStrings
The kinds of telemetry signal observed on this edge.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypes
The kinds of telemetry signal observed on this edge.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalTypes
The kinds of telemetry signal observed on this edge.
- Parameters:
signalTypes- The kinds of telemetry signal observed on this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcesWithStrings
The discovery sources that contributed this edge.
- Parameters:
sources- The discovery sources that contributed this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcesWithStrings
The discovery sources that contributed this edge.
- Parameters:
sources- The discovery sources that contributed this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The discovery sources that contributed this edge.
- Parameters:
sources- The discovery sources that contributed this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The discovery sources that contributed this edge.
- Parameters:
sources- The discovery sources that contributed this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Descriptive metadata about the edge. Present only when the request sets includeMetadata.
- Parameters:
metadata- Descriptive metadata about the edge. 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 edge. 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 edge was first observed (UTC), at minute granularity. For an edge that merged across sources, this is the earliest value any source reported.
- Parameters:
firstObservedAt- When this edge was first observed (UTC), at minute granularity. For an edge 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 edge was most recently observed (UTC), at minute granularity. For an edge that merged across sources, this is the latest value any source reported.
- Parameters:
lastObservedAt- When this edge was most recently observed (UTC), at minute granularity. For an edge 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.
-