@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmpConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The AmpConfiguration structure defines the Amazon Managed Service for Prometheus instance a scraper
should send metrics to.
| Constructor and Description |
|---|
AmpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AmpConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getWorkspaceArn()
ARN of the Amazon Managed Service for Prometheus workspace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setWorkspaceArn(String workspaceArn)
ARN of the Amazon Managed Service for Prometheus workspace.
|
String |
toString()
Returns a string representation of this object.
|
AmpConfiguration |
withWorkspaceArn(String workspaceArn)
ARN of the Amazon Managed Service for Prometheus workspace.
|
public void setWorkspaceArn(String workspaceArn)
ARN of the Amazon Managed Service for Prometheus workspace.
workspaceArn - ARN of the Amazon Managed Service for Prometheus workspace.public String getWorkspaceArn()
ARN of the Amazon Managed Service for Prometheus workspace.
public AmpConfiguration withWorkspaceArn(String workspaceArn)
ARN of the Amazon Managed Service for Prometheus workspace.
workspaceArn - ARN of the Amazon Managed Service for Prometheus workspace.public String toString()
toString in class ObjectObject.toString()public AmpConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.