@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceDependent extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about a service dependent that was discovered by Application Signals. A dependent is an entity that invoked the specified service during the provided time range. Dependents include other services, CloudWatch Synthetics canaries, and clients that are instrumented with CloudWatch RUM app monitors.
Constructor and Description |
---|
ServiceDependent() |
Modifier and Type | Method and Description |
---|---|
ServiceDependent |
addDependentKeyAttributesEntry(String key,
String value)
Add a single DependentKeyAttributes entry
|
ServiceDependent |
clearDependentKeyAttributesEntries()
Removes all the entries added into DependentKeyAttributes.
|
ServiceDependent |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getDependentKeyAttributes()
This is a string-to-string map.
|
String |
getDependentOperationName()
If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is
displayed here.
|
List<MetricReference> |
getMetricReferences()
An array of structures that each contain information about one metric associated with this service dependent that
was discovered by Application Signals.
|
String |
getOperationName()
If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDependentKeyAttributes(Map<String,String> dependentKeyAttributes)
This is a string-to-string map.
|
void |
setDependentOperationName(String dependentOperationName)
If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is
displayed here.
|
void |
setMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service dependent that
was discovered by Application Signals.
|
void |
setOperationName(String operationName)
If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.
|
String |
toString()
Returns a string representation of this object.
|
ServiceDependent |
withDependentKeyAttributes(Map<String,String> dependentKeyAttributes)
This is a string-to-string map.
|
ServiceDependent |
withDependentOperationName(String dependentOperationName)
If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is
displayed here.
|
ServiceDependent |
withMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service dependent that
was discovered by Application Signals.
|
ServiceDependent |
withMetricReferences(MetricReference... metricReferences)
An array of structures that each contain information about one metric associated with this service dependent that
was discovered by Application Signals.
|
ServiceDependent |
withOperationName(String operationName)
If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.
|
public void setOperationName(String operationName)
If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.
operationName
- If the invoked entity is an operation on an entity, the name of that dependent operation is displayed
here.public String getOperationName()
If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.
public ServiceDependent withOperationName(String operationName)
If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.
operationName
- If the invoked entity is an operation on an entity, the name of that dependent operation is displayed
here.public Map<String,String> getDependentKeyAttributes()
This is a string-to-string map. It can include the following fields.
Type
designates the type of object this is.
ResourceType
specifies the type of the resource. This field is used only when the value of the
Type
field is Resource
or AWS::Resource
.
Name
specifies the name of the object. This is used only if the value of the Type
field
is Service
, RemoteService
, or AWS::Service
.
Identifier
identifies the resource objects of this resource. This is used only if the value of the
Type
field is Resource
or AWS::Resource
.
Environment
specifies the location where this object is hosted, or what it belongs to.
Type
designates the type of object this is.
ResourceType
specifies the type of the resource. This field is used only when the value of
the Type
field is Resource
or AWS::Resource
.
Name
specifies the name of the object. This is used only if the value of the
Type
field is Service
, RemoteService
, or AWS::Service
.
Identifier
identifies the resource objects of this resource. This is used only if the value
of the Type
field is Resource
or AWS::Resource
.
Environment
specifies the location where this object is hosted, or what it belongs to.
public void setDependentKeyAttributes(Map<String,String> dependentKeyAttributes)
This is a string-to-string map. It can include the following fields.
Type
designates the type of object this is.
ResourceType
specifies the type of the resource. This field is used only when the value of the
Type
field is Resource
or AWS::Resource
.
Name
specifies the name of the object. This is used only if the value of the Type
field
is Service
, RemoteService
, or AWS::Service
.
Identifier
identifies the resource objects of this resource. This is used only if the value of the
Type
field is Resource
or AWS::Resource
.
Environment
specifies the location where this object is hosted, or what it belongs to.
dependentKeyAttributes
- This is a string-to-string map. It can include the following fields.
Type
designates the type of object this is.
ResourceType
specifies the type of the resource. This field is used only when the value of
the Type
field is Resource
or AWS::Resource
.
Name
specifies the name of the object. This is used only if the value of the
Type
field is Service
, RemoteService
, or AWS::Service
.
Identifier
identifies the resource objects of this resource. This is used only if the value
of the Type
field is Resource
or AWS::Resource
.
Environment
specifies the location where this object is hosted, or what it belongs to.
public ServiceDependent withDependentKeyAttributes(Map<String,String> dependentKeyAttributes)
This is a string-to-string map. It can include the following fields.
Type
designates the type of object this is.
ResourceType
specifies the type of the resource. This field is used only when the value of the
Type
field is Resource
or AWS::Resource
.
Name
specifies the name of the object. This is used only if the value of the Type
field
is Service
, RemoteService
, or AWS::Service
.
Identifier
identifies the resource objects of this resource. This is used only if the value of the
Type
field is Resource
or AWS::Resource
.
Environment
specifies the location where this object is hosted, or what it belongs to.
dependentKeyAttributes
- This is a string-to-string map. It can include the following fields.
Type
designates the type of object this is.
ResourceType
specifies the type of the resource. This field is used only when the value of
the Type
field is Resource
or AWS::Resource
.
Name
specifies the name of the object. This is used only if the value of the
Type
field is Service
, RemoteService
, or AWS::Service
.
Identifier
identifies the resource objects of this resource. This is used only if the value
of the Type
field is Resource
or AWS::Resource
.
Environment
specifies the location where this object is hosted, or what it belongs to.
public ServiceDependent addDependentKeyAttributesEntry(String key, String value)
public ServiceDependent clearDependentKeyAttributesEntries()
public void setDependentOperationName(String dependentOperationName)
If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here.
dependentOperationName
- If the dependent invoker was a service that invoked it from an operation, the name of that dependent
operation is displayed here.public String getDependentOperationName()
If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here.
public ServiceDependent withDependentOperationName(String dependentOperationName)
If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here.
dependentOperationName
- If the dependent invoker was a service that invoked it from an operation, the name of that dependent
operation is displayed here.public List<MetricReference> getMetricReferences()
An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
public void setMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
metricReferences
- An array of structures that each contain information about one metric associated with this service
dependent that was discovered by Application Signals.public ServiceDependent withMetricReferences(MetricReference... metricReferences)
An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
NOTE: This method appends the values to the existing list (if any). Use
setMetricReferences(java.util.Collection)
or withMetricReferences(java.util.Collection)
if you
want to override the existing values.
metricReferences
- An array of structures that each contain information about one metric associated with this service
dependent that was discovered by Application Signals.public ServiceDependent withMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
metricReferences
- An array of structures that each contain information about one metric associated with this service
dependent that was discovered by Application Signals.public String toString()
toString
in class Object
Object.toString()
public ServiceDependent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.