CopyableBuilder<Service.Builder,Service>
, SdkBuilder<Service.Builder,Service>
public static interface Service.Builder extends CopyableBuilder<Service.Builder,Service>
Modifier and Type | Method | 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(Date 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(String... names) |
A list of names for the service, including the canonical name.
|
Service.Builder |
names(Collection<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(Date startTime) |
The start time of the first segment that the service generated.
|
Service.Builder |
state(String state) |
The service's state.
|
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.
NOTE: This method appends the values to the existing list (if any). Use
#setNames(java.util.Collection)
or #withNames(java.util.Collection)
if you want to override
the existing values.
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(Date 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(Date 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.
NOTE: This method appends the values to the existing list (if any). Use
#setEdges(java.util.Collection)
or #withEdges(java.util.Collection)
if you want to override
the existing values.
edges
- Connections to downstream services.Service.Builder summaryStatistics(ServiceStatistics summaryStatistics)
Aggregated statistics for the service.
summaryStatistics
- Aggregated statistics for the service.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.
NOTE: This method appends the values to the existing list (if any). Use
#setDurationHistogram(java.util.Collection)
or #withDurationHistogram(java.util.Collection)
if you want to override the existing values.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setResponseTimeHistogram(java.util.Collection)
or
#withResponseTimeHistogram(java.util.Collection)
if you want to override the existing values.
responseTimeHistogram
- A histogram that maps the spread of service response times.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.