Interface Edge.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Edge.Builder,Edge>,SdkBuilder<Edge.Builder,Edge>,SdkPojo
- Enclosing class:
- Edge
@Mutable @NotThreadSafe public static interface Edge.Builder extends SdkPojo, CopyableBuilder<Edge.Builder,Edge>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Edge.Builderaliases(Collection<Alias> aliases)Aliases for the edge.Edge.Builderaliases(Consumer<Alias.Builder>... aliases)Aliases for the edge.Edge.Builderaliases(Alias... aliases)Aliases for the edge.Edge.BuilderedgeType(String edgeType)Describes an asynchronous connection, with a value oflink.Edge.BuilderendTime(Instant endTime)The end time of the last segment on the edge.Edge.BuilderreceivedEventAgeHistogram(Collection<HistogramEntry> receivedEventAgeHistogram)A histogram that maps the spread of event age when received by consumers.Edge.BuilderreceivedEventAgeHistogram(Consumer<HistogramEntry.Builder>... receivedEventAgeHistogram)A histogram that maps the spread of event age when received by consumers.Edge.BuilderreceivedEventAgeHistogram(HistogramEntry... receivedEventAgeHistogram)A histogram that maps the spread of event age when received by consumers.Edge.BuilderreferenceId(Integer referenceId)Identifier of the edge.Edge.BuilderresponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)A histogram that maps the spread of client response times on an edge.Edge.BuilderresponseTimeHistogram(Consumer<HistogramEntry.Builder>... responseTimeHistogram)A histogram that maps the spread of client response times on an edge.Edge.BuilderresponseTimeHistogram(HistogramEntry... responseTimeHistogram)A histogram that maps the spread of client response times on an edge.Edge.BuilderstartTime(Instant startTime)The start time of the first segment on the edge.default Edge.BuildersummaryStatistics(Consumer<EdgeStatistics.Builder> summaryStatistics)Response statistics for segments on the edge.Edge.BuildersummaryStatistics(EdgeStatistics summaryStatistics)Response statistics for segments on the edge.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
referenceId
Edge.Builder referenceId(Integer referenceId)
Identifier of the edge. Unique within a service map.
- Parameters:
referenceId- Identifier of the edge. Unique within a service map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
Edge.Builder startTime(Instant startTime)
The start time of the first segment on the edge.
- Parameters:
startTime- The start time of the first segment on the edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Edge.Builder endTime(Instant endTime)
The end time of the last segment on the edge.
- Parameters:
endTime- The end time of the last segment on the edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryStatistics
Edge.Builder summaryStatistics(EdgeStatistics summaryStatistics)
Response statistics for segments on the edge.
- Parameters:
summaryStatistics- Response statistics for segments on the edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryStatistics
default Edge.Builder summaryStatistics(Consumer<EdgeStatistics.Builder> summaryStatistics)
Response statistics for segments on the edge.
This is a convenience method that creates an instance of theEdgeStatistics.Builderavoiding the need to create one manually viaEdgeStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummaryStatistics(EdgeStatistics).- Parameters:
summaryStatistics- a consumer that will call methods onEdgeStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
summaryStatistics(EdgeStatistics)
-
responseTimeHistogram
Edge.Builder responseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
- Parameters:
responseTimeHistogram- A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTimeHistogram
Edge.Builder responseTimeHistogram(HistogramEntry... responseTimeHistogram)
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
- Parameters:
responseTimeHistogram- A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTimeHistogram
Edge.Builder responseTimeHistogram(Consumer<HistogramEntry.Builder>... responseTimeHistogram)
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
This is a convenience method that creates an instance of theHistogramEntry.Builderavoiding the need to create one manually viaHistogramEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#responseTimeHistogram(List.) - Parameters:
responseTimeHistogram- a consumer that will call methods onHistogramEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#responseTimeHistogram(java.util.Collection)
-
aliases
Edge.Builder aliases(Collection<Alias> aliases)
Aliases for the edge.
- Parameters:
aliases- Aliases for the edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
Edge.Builder aliases(Alias... aliases)
Aliases for the edge.
- Parameters:
aliases- Aliases for the edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliases
Edge.Builder aliases(Consumer<Alias.Builder>... aliases)
Aliases for the edge.
This is a convenience method that creates an instance of theAlias.Builderavoiding the need to create one manually viaAlias.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#aliases(List.) - Parameters:
aliases- a consumer that will call methods onAlias.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#aliases(java.util.Collection)
-
edgeType
Edge.Builder edgeType(String edgeType)
Describes an asynchronous connection, with a value of
link.- Parameters:
edgeType- Describes an asynchronous connection, with a value oflink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receivedEventAgeHistogram
Edge.Builder receivedEventAgeHistogram(Collection<HistogramEntry> receivedEventAgeHistogram)
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is
link.- Parameters:
receivedEventAgeHistogram- A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType islink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receivedEventAgeHistogram
Edge.Builder receivedEventAgeHistogram(HistogramEntry... receivedEventAgeHistogram)
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is
link.- Parameters:
receivedEventAgeHistogram- A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType islink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receivedEventAgeHistogram
Edge.Builder receivedEventAgeHistogram(Consumer<HistogramEntry.Builder>... receivedEventAgeHistogram)
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is
This is a convenience method that creates an instance of thelink.HistogramEntry.Builderavoiding the need to create one manually viaHistogramEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#receivedEventAgeHistogram(List.) - Parameters:
receivedEventAgeHistogram- a consumer that will call methods onHistogramEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#receivedEventAgeHistogram(java.util.Collection)
-
-