@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceOperation extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about an operation discovered by Application Signals. An operation is a specific function performed by a service that was discovered by Application Signals, and is often an API that is called by an upstream dependent.
| Constructor and Description | 
|---|
| ServiceOperation() | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceOperation | clone() | 
| boolean | equals(Object obj) | 
| List<MetricReference> | getMetricReferences()
 An array of structures that each contain information about one metric associated with this service operation that
 was discovered by Application Signals. | 
| String | getName()
 The name of the operation, discovered by Application Signals. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setMetricReferences(Collection<MetricReference> metricReferences)
 An array of structures that each contain information about one metric associated with this service operation that
 was discovered by Application Signals. | 
| void | setName(String name)
 The name of the operation, discovered by Application Signals. | 
| String | toString()Returns a string representation of this object. | 
| ServiceOperation | withMetricReferences(Collection<MetricReference> metricReferences)
 An array of structures that each contain information about one metric associated with this service operation that
 was discovered by Application Signals. | 
| ServiceOperation | withMetricReferences(MetricReference... metricReferences)
 An array of structures that each contain information about one metric associated with this service operation that
 was discovered by Application Signals. | 
| ServiceOperation | withName(String name)
 The name of the operation, discovered by Application Signals. | 
public void setName(String name)
The name of the operation, discovered by Application Signals.
name - The name of the operation, discovered by Application Signals.public String getName()
The name of the operation, discovered by Application Signals.
public ServiceOperation withName(String name)
The name of the operation, discovered by Application Signals.
name - The name of the operation, discovered by Application Signals.public List<MetricReference> getMetricReferences()
An array of structures that each contain information about one metric associated with this service operation 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 operation that was discovered by Application Signals.
metricReferences - An array of structures that each contain information about one metric associated with this service
        operation that was discovered by Application Signals.public ServiceOperation withMetricReferences(MetricReference... metricReferences)
An array of structures that each contain information about one metric associated with this service operation 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
        operation that was discovered by Application Signals.public ServiceOperation withMetricReferences(Collection<MetricReference> metricReferences)
An array of structures that each contain information about one metric associated with this service operation that was discovered by Application Signals.
metricReferences - An array of structures that each contain information about one metric associated with this service
        operation that was discovered by Application Signals.public String toString()
toString in class ObjectObject.toString()public ServiceOperation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.