@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.
Constructor and Description |
---|
MetricsConfiguration() |
Modifier and Type | Method and Description |
---|---|
MetricsConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCloudMetricEnabled()
A Boolean that specifies whether cloud metrics are collected.
|
String |
getMetricRuleRoleArn()
The ARN of the role that is used to collect cloud metrics.
|
int |
hashCode() |
Boolean |
isCloudMetricEnabled()
A Boolean that specifies whether cloud metrics are collected.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudMetricEnabled(Boolean cloudMetricEnabled)
A Boolean that specifies whether cloud metrics are collected.
|
void |
setMetricRuleRoleArn(String metricRuleRoleArn)
The ARN of the role that is used to collect cloud metrics.
|
String |
toString()
Returns a string representation of this object.
|
MetricsConfiguration |
withCloudMetricEnabled(Boolean cloudMetricEnabled)
A Boolean that specifies whether cloud metrics are collected.
|
MetricsConfiguration |
withMetricRuleRoleArn(String metricRuleRoleArn)
The ARN of the role that is used to collect cloud metrics.
|
public void setCloudMetricEnabled(Boolean cloudMetricEnabled)
A Boolean that specifies whether cloud metrics are collected.
cloudMetricEnabled
- A Boolean that specifies whether cloud metrics are collected.public Boolean getCloudMetricEnabled()
A Boolean that specifies whether cloud metrics are collected.
public MetricsConfiguration withCloudMetricEnabled(Boolean cloudMetricEnabled)
A Boolean that specifies whether cloud metrics are collected.
cloudMetricEnabled
- A Boolean that specifies whether cloud metrics are collected.public Boolean isCloudMetricEnabled()
A Boolean that specifies whether cloud metrics are collected.
public void setMetricRuleRoleArn(String metricRuleRoleArn)
The ARN of the role that is used to collect cloud metrics.
metricRuleRoleArn
- The ARN of the role that is used to collect cloud metrics.public String getMetricRuleRoleArn()
The ARN of the role that is used to collect cloud metrics.
public MetricsConfiguration withMetricRuleRoleArn(String metricRuleRoleArn)
The ARN of the role that is used to collect cloud metrics.
metricRuleRoleArn
- The ARN of the role that is used to collect cloud metrics.public String toString()
toString
in class Object
Object.toString()
public MetricsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.