public class DisableMetricsCollectionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Disables monitoring of the specified metrics for the specified Auto Scaling group.
Constructor and Description |
---|
DisableMetricsCollectionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the group.
|
java.util.List<java.lang.String> |
getMetrics()
One or more of the following metrics.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
|
void |
setMetrics(java.util.Collection<java.lang.String> metrics)
One or more of the following metrics.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisableMetricsCollectionRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
|
DisableMetricsCollectionRequest |
withMetrics(java.util.Collection<java.lang.String> metrics)
One or more of the following metrics.
|
DisableMetricsCollectionRequest |
withMetrics(java.lang.String... metrics)
One or more of the following metrics.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name or Amazon Resource Name (ARN) of the group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the group.
public DisableMetricsCollectionRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the group.
public java.util.List<java.lang.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
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 void setMetrics(java.util.Collection<java.lang.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(java.lang.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
Returns a reference to this object so that method calls can be chained together.
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(java.util.Collection<java.lang.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
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.