@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Edge extends Object implements Serializable, Cloneable, StructuredPojo
Information about a connection between two services. An edge can be a synchronous connection, such as typical call between client and service, or an asynchronous link, such as a Lambda function which retrieves an event from an SNS queue.
Constructor and Description |
---|
Edge() |
Modifier and Type | Method and Description |
---|---|
Edge |
clone() |
boolean |
equals(Object obj) |
List<Alias> |
getAliases()
Aliases for the edge.
|
String |
getEdgeType()
Describes an asynchronous connection, with a value of
link . |
Date |
getEndTime()
The end time of the last segment on the edge.
|
List<HistogramEntry> |
getReceivedEventAgeHistogram()
A histogram that maps the spread of event age when received by consumers.
|
Integer |
getReferenceId()
Identifier of the edge.
|
List<HistogramEntry> |
getResponseTimeHistogram()
A histogram that maps the spread of client response times on an edge.
|
Date |
getStartTime()
The start time of the first segment on the edge.
|
EdgeStatistics |
getSummaryStatistics()
Response statistics for segments on the edge.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAliases(Collection<Alias> aliases)
Aliases for the edge.
|
void |
setEdgeType(String edgeType)
Describes an asynchronous connection, with a value of
link . |
void |
setEndTime(Date endTime)
The end time of the last segment on the edge.
|
void |
setReceivedEventAgeHistogram(Collection<HistogramEntry> receivedEventAgeHistogram)
A histogram that maps the spread of event age when received by consumers.
|
void |
setReferenceId(Integer referenceId)
Identifier of the edge.
|
void |
setResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of client response times on an edge.
|
void |
setStartTime(Date startTime)
The start time of the first segment on the edge.
|
void |
setSummaryStatistics(EdgeStatistics summaryStatistics)
Response statistics for segments on the edge.
|
String |
toString()
Returns a string representation of this object.
|
Edge |
withAliases(Alias... aliases)
Aliases for the edge.
|
Edge |
withAliases(Collection<Alias> aliases)
Aliases for the edge.
|
Edge |
withEdgeType(String edgeType)
Describes an asynchronous connection, with a value of
link . |
Edge |
withEndTime(Date endTime)
The end time of the last segment on the edge.
|
Edge |
withReceivedEventAgeHistogram(Collection<HistogramEntry> receivedEventAgeHistogram)
A histogram that maps the spread of event age when received by consumers.
|
Edge |
withReceivedEventAgeHistogram(HistogramEntry... receivedEventAgeHistogram)
A histogram that maps the spread of event age when received by consumers.
|
Edge |
withReferenceId(Integer referenceId)
Identifier of the edge.
|
Edge |
withResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of client response times on an edge.
|
Edge |
withResponseTimeHistogram(HistogramEntry... responseTimeHistogram)
A histogram that maps the spread of client response times on an edge.
|
Edge |
withStartTime(Date startTime)
The start time of the first segment on the edge.
|
Edge |
withSummaryStatistics(EdgeStatistics summaryStatistics)
Response statistics for segments on the edge.
|
public void setReferenceId(Integer referenceId)
Identifier of the edge. Unique within a service map.
referenceId
- Identifier of the edge. Unique within a service map.public Integer getReferenceId()
Identifier of the edge. Unique within a service map.
public Edge withReferenceId(Integer referenceId)
Identifier of the edge. Unique within a service map.
referenceId
- Identifier of the edge. Unique within a service map.public void setStartTime(Date startTime)
The start time of the first segment on the edge.
startTime
- The start time of the first segment on the edge.public Date getStartTime()
The start time of the first segment on the edge.
public Edge withStartTime(Date startTime)
The start time of the first segment on the edge.
startTime
- The start time of the first segment on the edge.public void setEndTime(Date endTime)
The end time of the last segment on the edge.
endTime
- The end time of the last segment on the edge.public Date getEndTime()
The end time of the last segment on the edge.
public Edge withEndTime(Date endTime)
The end time of the last segment on the edge.
endTime
- The end time of the last segment on the edge.public void setSummaryStatistics(EdgeStatistics summaryStatistics)
Response statistics for segments on the edge.
summaryStatistics
- Response statistics for segments on the edge.public EdgeStatistics getSummaryStatistics()
Response statistics for segments on the edge.
public Edge withSummaryStatistics(EdgeStatistics summaryStatistics)
Response statistics for segments on the edge.
summaryStatistics
- Response statistics for segments on the edge.public List<HistogramEntry> getResponseTimeHistogram()
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
public void setResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
responseTimeHistogram
- A histogram that maps the spread of client response times on an edge. Only populated for synchronous
edges.public Edge withResponseTimeHistogram(HistogramEntry... responseTimeHistogram)
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
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 client response times on an edge. Only populated for synchronous
edges.public Edge withResponseTimeHistogram(Collection<HistogramEntry> responseTimeHistogram)
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
responseTimeHistogram
- A histogram that maps the spread of client response times on an edge. Only populated for synchronous
edges.public void setAliases(Collection<Alias> aliases)
Aliases for the edge.
aliases
- Aliases for the edge.public Edge withAliases(Alias... aliases)
Aliases for the edge.
NOTE: This method appends the values to the existing list (if any). Use
setAliases(java.util.Collection)
or withAliases(java.util.Collection)
if you want to override
the existing values.
aliases
- Aliases for the edge.public Edge withAliases(Collection<Alias> aliases)
Aliases for the edge.
aliases
- Aliases for the edge.public void setEdgeType(String edgeType)
Describes an asynchronous connection, with a value of link
.
edgeType
- Describes an asynchronous connection, with a value of link
.public String getEdgeType()
Describes an asynchronous connection, with a value of link
.
link
.public Edge withEdgeType(String edgeType)
Describes an asynchronous connection, with a value of link
.
edgeType
- Describes an asynchronous connection, with a value of link
.public List<HistogramEntry> getReceivedEventAgeHistogram()
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
.
link
.public void setReceivedEventAgeHistogram(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
.
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
.public Edge withReceivedEventAgeHistogram(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
.
NOTE: This method appends the values to the existing list (if any). Use
setReceivedEventAgeHistogram(java.util.Collection)
or
withReceivedEventAgeHistogram(java.util.Collection)
if you want to override the existing values.
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
.public Edge withReceivedEventAgeHistogram(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
.
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
.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.