public static interface Service.Builder extends CopyableBuilder<Service.Builder,Service>
Modifier and Type | Method and Description |
---|---|
Service.Builder |
accountId(String accountId)
Identifier of the AWS account in which the service runs.
|
Service.Builder |
durationHistogram(Collection<HistogramEntry> durationHistogram)
A histogram that maps the spread of service durations.
|
Service.Builder |
durationHistogram(HistogramEntry... durationHistogram)
A histogram that maps the spread of service durations.
|
Service.Builder |
edges(Collection<Edge> edges)
Connections to downstream services.
|
Service.Builder |
edges(Edge... edges)
Connections to downstream services.
|
Service.Builder |
endTime(Instant endTime)
The end time of the last segment that the service generated.
|
Service.Builder |
name(String name)
The canonical name of the service.
|
Service.Builder |
names(Collection<String> names)
A list of names for the service, including the canonical name.
|
Service.Builder |
names(String... names)
A list of names for the service, including the canonical name.
|
Service.Builder |
referenceId(Integer referenceId)
Identifier for the service.
|
Service.Builder |
responseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of service response times.
|
Service.Builder |
responseTimeHistogram(HistogramEntry... responseTimeHistogram)
A histogram that maps the spread of service response times.
|
Service.Builder |
root(Boolean root)
Indicates that the service was the first service to process a request.
|
Service.Builder |
startTime(Instant startTime)
The start time of the first segment that the service generated.
|
Service.Builder |
state(String state)
The service's state.
|
default Service.Builder |
summaryStatistics(Consumer<ServiceStatistics.Builder> summaryStatistics)
Aggregated statistics for the service.
|
Service.Builder |
summaryStatistics(ServiceStatistics summaryStatistics)
Aggregated statistics for the service.
|
Service.Builder |
type(String type)
The type of service.
|
copy
apply, build
Service.Builder referenceId(Integer referenceId)
Identifier for the service. Unique within the service map.
referenceId
- Identifier for the service. Unique within the service map.Service.Builder name(String name)
The canonical name of the service.
name
- The canonical name of the service.Service.Builder names(Collection<String> names)
A list of names for the service, including the canonical name.
names
- A list of names for the service, including the canonical name.Service.Builder names(String... names)
A list of names for the service, including the canonical name.
names
- A list of names for the service, including the canonical name.Service.Builder root(Boolean root)
Indicates that the service was the first service to process a request.
root
- Indicates that the service was the first service to process a request.Service.Builder accountId(String accountId)
Identifier of the AWS account in which the service runs.
accountId
- Identifier of the AWS account in which the service runs.Service.Builder type(String type)
The type of service.
AWS Resource - The type of an AWS resource. For example, AWS::EC2::Instance
for a application
running on Amazon EC2 or AWS::DynamoDB::Table
for an Amazon DynamoDB table that the application
used.
AWS Service - The type of an AWS 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.
type
- The type of service.
AWS Resource - The type of an AWS resource. For example, AWS::EC2::Instance
for a
application running on Amazon EC2 or AWS::DynamoDB::Table
for an Amazon DynamoDB table
that the application used.
AWS Service - The type of an AWS 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.
Service.Builder state(String state)
The service's state.
state
- The service's state.Service.Builder startTime(Instant startTime)
The start time of the first segment that the service generated.
startTime
- The start time of the first segment that the service generated.Service.Builder endTime(Instant endTime)
The end time of the last segment that the service generated.
endTime
- The end time of the last segment that the service generated.Service.Builder edges(Collection<Edge> edges)
Connections to downstream services.
edges
- Connections to downstream services.Service.Builder edges(Edge... edges)
Connections to downstream services.
edges
- Connections to downstream services.Service.Builder summaryStatistics(ServiceStatistics summaryStatistics)
Aggregated statistics for the service.
summaryStatistics
- Aggregated statistics for the service.default Service.Builder summaryStatistics(Consumer<ServiceStatistics.Builder> summaryStatistics)
Aggregated statistics for the service.
This is a convenience that creates an instance of theServiceStatistics.Builder
avoiding the need to
create one manually via ServiceStatistics.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to summaryStatistics(ServiceStatistics)
.summaryStatistics
- a consumer that will call methods on ServiceStatistics.Builder
summaryStatistics(ServiceStatistics)
Service.Builder durationHistogram(Collection<HistogramEntry> durationHistogram)
A histogram that maps the spread of service durations.
durationHistogram
- A histogram that maps the spread of service durations.Service.Builder durationHistogram(HistogramEntry... durationHistogram)
A histogram that maps the spread of service durations.
durationHistogram
- A histogram that maps the spread of service durations.Service.Builder responseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of service response times.
responseTimeHistogram
- A histogram that maps the spread of service response times.Service.Builder responseTimeHistogram(HistogramEntry... responseTimeHistogram)
A histogram that maps the spread of service response times.
responseTimeHistogram
- A histogram that maps the spread of service response times.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.