@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrometheusMonitoringConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.
Constructor and Description |
---|
PrometheusMonitoringConfiguration() |
Modifier and Type | Method and Description |
---|---|
PrometheusMonitoringConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getRemoteWriteUrl()
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRemoteWriteUrl(String remoteWriteUrl)
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
|
String |
toString()
Returns a string representation of this object.
|
PrometheusMonitoringConfiguration |
withRemoteWriteUrl(String remoteWriteUrl)
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
|
public void setRemoteWriteUrl(String remoteWriteUrl)
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
remoteWriteUrl
- The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.public String getRemoteWriteUrl()
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
public PrometheusMonitoringConfiguration withRemoteWriteUrl(String remoteWriteUrl)
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
remoteWriteUrl
- The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.public String toString()
toString
in class Object
Object.toString()
public PrometheusMonitoringConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.