public class DisableMetricsCollectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DisableMetricsCollectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisableMetricsCollectionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the group.
|
List<String> |
getMetrics()
One or more of the following metrics.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
|
void |
setMetrics(Collection<String> metrics)
One or more of the following metrics.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableMetricsCollectionRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
|
DisableMetricsCollectionRequest |
withMetrics(Collection<String> metrics)
One or more of the following metrics.
|
DisableMetricsCollectionRequest |
withMetrics(String... metrics)
One or more of the following metrics.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
autoScalingGroupName - The name or Amazon Resource Name (ARN) of the group.public String getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the group.
public DisableMetricsCollectionRequest withAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
autoScalingGroupName - The name or Amazon Resource Name (ARN) of the group.public List<String> getMetrics()
One or more of the following metrics. If you omit this parameter, all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public void setMetrics(Collection<String> metrics)
One or more of the following metrics. If you omit this parameter, all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
metrics - One or more of the following metrics. If you omit this parameter,
all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public DisableMetricsCollectionRequest withMetrics(String... metrics)
One or more of the following metrics. If you omit this parameter, all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
NOTE: This method appends the values to the existing list (if
any). Use setMetrics(java.util.Collection) or
withMetrics(java.util.Collection) if you want to override the
existing values.
metrics - One or more of the following metrics. If you omit this parameter,
all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public DisableMetricsCollectionRequest withMetrics(Collection<String> metrics)
One or more of the following metrics. If you omit this parameter, all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
metrics - One or more of the following metrics. If you omit this parameter,
all metrics are disabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public String toString()
toString in class ObjectObject.toString()public DisableMetricsCollectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.