@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
Where to send the metrics from a scraper.
Constructor and Description |
---|
Destination() |
Modifier and Type | Method and Description |
---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
AmpConfiguration |
getAmpConfiguration()
The Amazon Managed Service for Prometheusworkspace to send metrics to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmpConfiguration(AmpConfiguration ampConfiguration)
The Amazon Managed Service for Prometheusworkspace to send metrics to.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withAmpConfiguration(AmpConfiguration ampConfiguration)
The Amazon Managed Service for Prometheusworkspace to send metrics to.
|
public void setAmpConfiguration(AmpConfiguration ampConfiguration)
The Amazon Managed Service for Prometheusworkspace to send metrics to.
ampConfiguration
- The Amazon Managed Service for Prometheusworkspace to send metrics to.public AmpConfiguration getAmpConfiguration()
The Amazon Managed Service for Prometheusworkspace to send metrics to.
public Destination withAmpConfiguration(AmpConfiguration ampConfiguration)
The Amazon Managed Service for Prometheusworkspace to send metrics to.
ampConfiguration
- The Amazon Managed Service for Prometheusworkspace to send metrics to.public String toString()
toString
in class Object
Object.toString()
public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.