Interface Service.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Service.Builder,
,Service> SdkBuilder<Service.Builder,
,Service> SdkPojo
- Enclosing class:
Service
-
Method Summary
Modifier and TypeMethodDescriptionIdentifier of the Amazon Web Services account in which the service runs.durationHistogram
(Collection<HistogramEntry> durationHistogram) A histogram that maps the spread of service durations.durationHistogram
(Consumer<HistogramEntry.Builder>... durationHistogram) A histogram that maps the spread of service durations.durationHistogram
(HistogramEntry... durationHistogram) A histogram that maps the spread of service durations.edges
(Collection<Edge> edges) Connections to downstream services.edges
(Consumer<Edge.Builder>... edges) Connections to downstream services.Connections to downstream services.The end time of the last segment that the service generated.The canonical name of the service.A list of names for the service, including the canonical name.names
(Collection<String> names) A list of names for the service, including the canonical name.referenceId
(Integer referenceId) Identifier for the service.responseTimeHistogram
(Collection<HistogramEntry> responseTimeHistogram) A histogram that maps the spread of service response times.responseTimeHistogram
(Consumer<HistogramEntry.Builder>... responseTimeHistogram) A histogram that maps the spread of service response times.responseTimeHistogram
(HistogramEntry... responseTimeHistogram) A histogram that maps the spread of service response times.Indicates that the service was the first service to process a request.The start time of the first segment that the service generated.The service's state.default Service.Builder
summaryStatistics
(Consumer<ServiceStatistics.Builder> summaryStatistics) Aggregated statistics for the service.summaryStatistics
(ServiceStatistics summaryStatistics) Aggregated statistics for the service.The type of service.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, sdkFields
-
Method Details
-
referenceId
Identifier for the service. Unique within the service map.
- Parameters:
referenceId
- Identifier for the service. Unique within the service map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The canonical name of the service.
- Parameters:
name
- The canonical name of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
A list of names for the service, including the canonical name.
- Parameters:
names
- A list of names for the service, including the canonical name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
A list of names for the service, including the canonical name.
- Parameters:
names
- A list of names for the service, including the canonical name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
root
Indicates that the service was the first service to process a request.
- Parameters:
root
- Indicates that the service was the first service to process a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
Identifier of the Amazon Web Services account in which the service runs.
- Parameters:
accountId
- Identifier of the Amazon Web Services account in which the service runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of service.
-
Amazon Web Services Resource - The type of an Amazon Web Services resource. For example,
AWS::EC2::Instance
for an application running on Amazon EC2 orAWS::DynamoDB::Table
for an Amazon DynamoDB table that the application used. -
Amazon Web Services Service - The type of an Amazon Web Services service. For example,
AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't target a specific table. -
client
- Represents the clients that sent requests to a root service. -
remote
- A downstream service of indeterminate type.
- Parameters:
type
- The type of service.-
Amazon Web Services Resource - The type of an Amazon Web Services resource. For example,
AWS::EC2::Instance
for an application running on Amazon EC2 orAWS::DynamoDB::Table
for an Amazon DynamoDB table that the application used. -
Amazon Web Services Service - The type of an Amazon Web Services service. For example,
AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't target a specific table. -
client
- Represents the clients that sent requests to a root service. -
remote
- A downstream service of indeterminate type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
state
The service's state.
- Parameters:
state
- The service's state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time of the first segment that the service generated.
- Parameters:
startTime
- The start time of the first segment that the service generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the last segment that the service generated.
- Parameters:
endTime
- The end time of the last segment that the service generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
Connections to downstream services.
- Parameters:
edges
- Connections to downstream services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
Connections to downstream services.
- Parameters:
edges
- Connections to downstream services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
Connections to downstream services.
This is a convenience method that creates an instance of theEdge.Builder
avoiding the need to create one manually viaEdge.builder()
.When the
Consumer
completes,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:
-
summaryStatistics
Aggregated statistics for the service.
- Parameters:
summaryStatistics
- Aggregated statistics for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryStatistics
Aggregated statistics for the service.
This is a convenience method that creates an instance of theServiceStatistics.Builder
avoiding the need to create one manually viaServiceStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaryStatistics(ServiceStatistics)
.- Parameters:
summaryStatistics
- a consumer that will call methods onServiceStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
durationHistogram
A histogram that maps the spread of service durations.
- Parameters:
durationHistogram
- A histogram that maps the spread of service durations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationHistogram
A histogram that maps the spread of service durations.
- Parameters:
durationHistogram
- A histogram that maps the spread of service durations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationHistogram
A histogram that maps the spread of service durations.
This is a convenience method that creates an instance of theHistogramEntry.Builder
avoiding the need to create one manually viaHistogramEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todurationHistogram(List<HistogramEntry>)
.- Parameters:
durationHistogram
- 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
A histogram that maps the spread of service response times.
- Parameters:
responseTimeHistogram
- A histogram that maps the spread of service response times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTimeHistogram
A histogram that maps the spread of service response times.
- Parameters:
responseTimeHistogram
- A histogram that maps the spread of service response times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseTimeHistogram
A histogram that maps the spread of service response times.
This is a convenience method that creates an instance of theHistogramEntry.Builder
avoiding the need to create one manually viaHistogramEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponseTimeHistogram(List<HistogramEntry>)
.- 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:
-