@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMetricPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMetricPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetMetricPolicyResult |
clone() |
boolean |
equals(Object obj) |
MetricPolicy |
getMetricPolicy()
The metric policy that is associated with the specific container.
|
int |
hashCode() |
void |
setMetricPolicy(MetricPolicy metricPolicy)
The metric policy that is associated with the specific container.
|
String |
toString()
Returns a string representation of this object.
|
GetMetricPolicyResult |
withMetricPolicy(MetricPolicy metricPolicy)
The metric policy that is associated with the specific container.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMetricPolicy(MetricPolicy metricPolicy)
The metric policy that is associated with the specific container.
metricPolicy
- The metric policy that is associated with the specific container.public MetricPolicy getMetricPolicy()
The metric policy that is associated with the specific container.
public GetMetricPolicyResult withMetricPolicy(MetricPolicy metricPolicy)
The metric policy that is associated with the specific container.
metricPolicy
- The metric policy that is associated with the specific container.public String toString()
toString
in class Object
Object.toString()
public GetMetricPolicyResult clone()