@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceSummary extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about one of your services that was discoverd by Application Signals
Constructor and Description |
---|
ServiceSummary() |
Modifier and Type | Method and Description |
---|---|
ServiceSummary |
addKeyAttributesEntry(String key,
String value)
Add a single KeyAttributes entry
|
ServiceSummary |
clearKeyAttributesEntries()
Removes all the entries added into KeyAttributes.
|
ServiceSummary |
clone() |
boolean |
equals(Object obj) |
List<Map<String,String>> |
getAttributeMaps()
This structure contains one or more string-to-string maps that help identify this service.
|
Map<String,String> |
getKeyAttributes()
This is a string-to-string map that help identify the objects discovered by Application Signals.
|
List<MetricReference> |
getMetricReferences()
An array of structures that each contain information about one metric associated with this service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeMaps(Collection<Map<String,String>> attributeMaps)
This structure contains one or more string-to-string maps that help identify this service.
|
void |
setKeyAttributes(Map<String,String> keyAttributes)
This is a string-to-string map that help identify the objects discovered by Application Signals.
|
void |
setMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service.
|
String |
toString()
Returns a string representation of this object.
|
ServiceSummary |
withAttributeMaps(Collection<Map<String,String>> attributeMaps)
This structure contains one or more string-to-string maps that help identify this service.
|
ServiceSummary |
withAttributeMaps(Map<String,String>... attributeMaps)
This structure contains one or more string-to-string maps that help identify this service.
|
ServiceSummary |
withKeyAttributes(Map<String,String> keyAttributes)
This is a string-to-string map that help identify the objects discovered by Application Signals.
|
ServiceSummary |
withMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service.
|
ServiceSummary |
withMetricReferences(MetricReference... metricReferences)
An array of structures that each contain information about one metric associated with this service.
|
public Map<String,String> getKeyAttributes()
This is a string-to-string map that help identify the objects discovered by Application Signals. 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 setKeyAttributes(Map<String,String> keyAttributes)
This is a string-to-string map that help identify the objects discovered by Application Signals. 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.
keyAttributes
- This is a string-to-string map that help identify the objects discovered by Application Signals. 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 ServiceSummary withKeyAttributes(Map<String,String> keyAttributes)
This is a string-to-string map that help identify the objects discovered by Application Signals. 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.
keyAttributes
- This is a string-to-string map that help identify the objects discovered by Application Signals. 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 ServiceSummary addKeyAttributesEntry(String key, String value)
public ServiceSummary clearKeyAttributesEntries()
public List<Map<String,String>> getAttributeMaps()
This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or specifies
what was used for the source of telemetry data.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes
clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes
clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog
AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog
AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or
specifies what was used for the source of telemetry data.
public void setAttributeMaps(Collection<Map<String,String>> attributeMaps)
This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or specifies
what was used for the source of telemetry data.
attributeMaps
- This structure contains one or more string-to-string maps that help identify this service. It can include
platform attributes, application attributes, and telemetry attributes.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes
clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes
clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog
AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or
specifies what was used for the source of telemetry data.
public ServiceSummary withAttributeMaps(Map<String,String>... attributeMaps)
This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or specifies
what was used for the source of telemetry data.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeMaps(java.util.Collection)
or withAttributeMaps(java.util.Collection)
if you want
to override the existing values.
attributeMaps
- This structure contains one or more string-to-string maps that help identify this service. It can include
platform attributes, application attributes, and telemetry attributes.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes
clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes
clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog
AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or
specifies what was used for the source of telemetry data.
public ServiceSummary withAttributeMaps(Collection<Map<String,String>> attributeMaps)
This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or specifies
what was used for the source of telemetry data.
attributeMaps
- This structure contains one or more string-to-string maps that help identify this service. It can include
platform attributes, application attributes, and telemetry attributes.
Platform attributes contain information the service's platform.
PlatformType
defines the hosted-in platform.
EKS.Cluster
is the name of the Amazon EKS cluster.
K8s.Cluster
is the name of the self-hosted Kubernetes cluster.
K8s.Namespace
is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes
clusters.
K8s.Workload
is the name of the Kubernetes workload in either Amazon EKS or Kubernetes
clusters.
K8s.Node
is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters.
K8s.Pod
is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters.
EC2.AutoScalingGroup
is the name of the Amazon EC2 Auto Scaling group.
EC2.InstanceId
is the ID of the Amazon EC2 instance.
Host
is the name of the host, for all platform types.
Applciation attributes contain information about the application.
AWS.Application
is the application's name in Amazon Web Services Service Catalog AppRegistry.
AWS.Application.ARN
is the application's ARN in Amazon Web Services Service Catalog
AppRegistry.
Telemetry attributes contain telemetry information.
Telemetry.SDK
is the fingerprint of the OpenTelemetry SDK version for instrumented services.
Telemetry.Agent
is the fingerprint of the agent used to collect and send telemetry data.
Telemetry.Source
Specifies the point of application where the telemetry was collected or
specifies what was used for the source of telemetry data.
public List<MetricReference> getMetricReferences()
An array of structures that each contain information about one metric associated with this service.
public void setMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service.
metricReferences
- An array of structures that each contain information about one metric associated with this service.public ServiceSummary withMetricReferences(MetricReference... metricReferences)
An array of structures that each contain information about one metric associated with this service.
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.public ServiceSummary withMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service.
metricReferences
- An array of structures that each contain information about one metric associated with this service.public String toString()
toString
in class Object
Object.toString()
public ServiceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.