@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Service extends Object implements Serializable, Cloneable, StructuredPojo
Information about an application that processed requests, users that made requests, or downstream services, resources, and applications that an application used.
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
Identifier of the Amazon Web Services account in which the service runs.
|
List<HistogramEntry> |
getDurationHistogram()
A histogram that maps the spread of service durations.
|
List<Edge> |
getEdges()
Connections to downstream services.
|
Date |
getEndTime()
The end time of the last segment that the service generated.
|
String |
getName()
The canonical name of the service.
|
List<String> |
getNames()
A list of names for the service, including the canonical name.
|
Integer |
getReferenceId()
Identifier for the service.
|
List<HistogramEntry> |
getResponseTimeHistogram()
A histogram that maps the spread of service response times.
|
Boolean |
getRoot()
Indicates that the service was the first service to process a request.
|
Date |
getStartTime()
The start time of the first segment that the service generated.
|
String |
getState()
The service's state.
|
ServiceStatistics |
getSummaryStatistics()
Aggregated statistics for the service.
|
String |
getType()
The type of service.
|
int |
hashCode() |
Boolean |
isRoot()
Indicates that the service was the first service to process a request.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
Identifier of the Amazon Web Services account in which the service runs.
|
void |
setDurationHistogram(Collection<HistogramEntry> durationHistogram)
A histogram that maps the spread of service durations.
|
void |
setEdges(Collection<Edge> edges)
Connections to downstream services.
|
void |
setEndTime(Date endTime)
The end time of the last segment that the service generated.
|
void |
setName(String name)
The canonical name of the service.
|
void |
setNames(Collection<String> names)
A list of names for the service, including the canonical name.
|
void |
setReferenceId(Integer referenceId)
Identifier for the service.
|
void |
setResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of service response times.
|
void |
setRoot(Boolean root)
Indicates that the service was the first service to process a request.
|
void |
setStartTime(Date startTime)
The start time of the first segment that the service generated.
|
void |
setState(String state)
The service's state.
|
void |
setSummaryStatistics(ServiceStatistics summaryStatistics)
Aggregated statistics for the service.
|
void |
setType(String type)
The type of service.
|
String |
toString()
Returns a string representation of this object.
|
Service |
withAccountId(String accountId)
Identifier of the Amazon Web Services account in which the service runs.
|
Service |
withDurationHistogram(Collection<HistogramEntry> durationHistogram)
A histogram that maps the spread of service durations.
|
Service |
withDurationHistogram(HistogramEntry... durationHistogram)
A histogram that maps the spread of service durations.
|
Service |
withEdges(Collection<Edge> edges)
Connections to downstream services.
|
Service |
withEdges(Edge... edges)
Connections to downstream services.
|
Service |
withEndTime(Date endTime)
The end time of the last segment that the service generated.
|
Service |
withName(String name)
The canonical name of the service.
|
Service |
withNames(Collection<String> names)
A list of names for the service, including the canonical name.
|
Service |
withNames(String... names)
A list of names for the service, including the canonical name.
|
Service |
withReferenceId(Integer referenceId)
Identifier for the service.
|
Service |
withResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of service response times.
|
Service |
withResponseTimeHistogram(HistogramEntry... responseTimeHistogram)
A histogram that maps the spread of service response times.
|
Service |
withRoot(Boolean root)
Indicates that the service was the first service to process a request.
|
Service |
withStartTime(Date startTime)
The start time of the first segment that the service generated.
|
Service |
withState(String state)
The service's state.
|
Service |
withSummaryStatistics(ServiceStatistics summaryStatistics)
Aggregated statistics for the service.
|
Service |
withType(String type)
The type of service.
|
public void setReferenceId(Integer referenceId)
Identifier for the service. Unique within the service map.
referenceId
- Identifier for the service. Unique within the service map.public Integer getReferenceId()
Identifier for the service. Unique within the service map.
public Service withReferenceId(Integer referenceId)
Identifier for the service. Unique within the service map.
referenceId
- Identifier for the service. Unique within the service map.public void setName(String name)
The canonical name of the service.
name
- The canonical name of the service.public String getName()
The canonical name of the service.
public Service withName(String name)
The canonical name of the service.
name
- The canonical name of the service.public List<String> getNames()
A list of names for the service, including the canonical name.
public void setNames(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.public Service withNames(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.public Service withNames(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.public void setRoot(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.public Boolean getRoot()
Indicates that the service was the first service to process a request.
public Service withRoot(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.public Boolean isRoot()
Indicates that the service was the first service to process a request.
public void setAccountId(String accountId)
Identifier of the Amazon Web Services account in which the service runs.
accountId
- Identifier of the Amazon Web Services account in which the service runs.public String getAccountId()
Identifier of the Amazon Web Services account in which the service runs.
public Service withAccountId(String accountId)
Identifier of the Amazon Web Services account in which the service runs.
accountId
- Identifier of the Amazon Web Services account in which the service runs.public void setType(String 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 or AWS::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.
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 or
AWS::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.
public String getType()
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 or AWS::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.
Amazon Web Services Resource - The type of an Amazon Web Services resource. For example,
AWS::EC2::Instance
for an application running on Amazon EC2 or
AWS::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.
public Service withType(String 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 or AWS::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.
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 or
AWS::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.
public void setState(String state)
The service's state.
state
- The service's state.public String getState()
The service's state.
public Service withState(String state)
The service's state.
state
- The service's state.public void setStartTime(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.public Date getStartTime()
The start time of the first segment that the service generated.
public Service withStartTime(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.public void setEndTime(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.public Date getEndTime()
The end time of the last segment that the service generated.
public Service withEndTime(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.public List<Edge> getEdges()
Connections to downstream services.
public void setEdges(Collection<Edge> edges)
Connections to downstream services.
edges
- Connections to downstream services.public Service withEdges(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.public Service withEdges(Collection<Edge> edges)
Connections to downstream services.
edges
- Connections to downstream services.public void setSummaryStatistics(ServiceStatistics summaryStatistics)
Aggregated statistics for the service.
summaryStatistics
- Aggregated statistics for the service.public ServiceStatistics getSummaryStatistics()
Aggregated statistics for the service.
public Service withSummaryStatistics(ServiceStatistics summaryStatistics)
Aggregated statistics for the service.
summaryStatistics
- Aggregated statistics for the service.public List<HistogramEntry> getDurationHistogram()
A histogram that maps the spread of service durations.
public void setDurationHistogram(Collection<HistogramEntry> durationHistogram)
A histogram that maps the spread of service durations.
durationHistogram
- A histogram that maps the spread of service durations.public Service withDurationHistogram(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.public Service withDurationHistogram(Collection<HistogramEntry> durationHistogram)
A histogram that maps the spread of service durations.
durationHistogram
- A histogram that maps the spread of service durations.public List<HistogramEntry> getResponseTimeHistogram()
A histogram that maps the spread of service response times.
public void setResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of service response times.
responseTimeHistogram
- A histogram that maps the spread of service response times.public Service withResponseTimeHistogram(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.public Service withResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of service response times.
responseTimeHistogram
- A histogram that maps the spread of service response times.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.