|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.CreateOrUpdateScalingTriggerRequest
public class CreateOrUpdateScalingTriggerRequest
Constructor Summary | |
---|---|
CreateOrUpdateScalingTriggerRequest()
|
Method Summary | |
---|---|
String |
getAutoScalingGroupName()
The name of the AutoScalingGroup to be associated with the trigger. |
Integer |
getBreachDuration()
The amount of time, in seconds, used to evaluate and determine if a breach is occurring. |
String |
getCustomUnit()
The standard unit of measurement for a given measure that the trigger uses when fetching metrics to examine. |
List<Dimension> |
getDimensions()
A list of dimensions associated with the metric used by the trigger to determine whether to fire. |
String |
getLowerBreachScaleIncrement()
The incremental amount to use when performing scaling activities after the lower threshold has been breached. |
Double |
getLowerThreshold()
The lower limit for the metric. |
String |
getMeasureName()
The measure name associated with the metric used by the trigger to determine when to fire. |
String |
getNamespace()
Constraints: Length: 1 - 100 Pattern: [ -9;-??-??-?\r\n\t]* |
Integer |
getPeriod()
The period, in seconds, associated witht he metric statistics. |
String |
getStatistic()
The statistic that the trigger when fetching metrics to examine. |
String |
getTriggerName()
The name for the trigger. |
String |
getUnit()
Constraints: Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None) |
String |
getUpperBreachScaleIncrement()
The incremental amount to use when performing scaling activities after the upper threshold has been breached. |
Double |
getUpperThreshold()
The upper limit for the metric. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the AutoScalingGroup to be associated with the trigger. |
void |
setBreachDuration(Integer breachDuration)
The amount of time, in seconds, used to evaluate and determine if a breach is occurring. |
void |
setCustomUnit(String customUnit)
The standard unit of measurement for a given measure that the trigger uses when fetching metrics to examine. |
void |
setDimensions(Collection<Dimension> dimensions)
A list of dimensions associated with the metric used by the trigger to determine whether to fire. |
void |
setLowerBreachScaleIncrement(String lowerBreachScaleIncrement)
The incremental amount to use when performing scaling activities after the lower threshold has been breached. |
void |
setLowerThreshold(Double lowerThreshold)
The lower limit for the metric. |
void |
setMeasureName(String measureName)
The measure name associated with the metric used by the trigger to determine when to fire. |
void |
setNamespace(String namespace)
Constraints: Length: 1 - 100 Pattern: [ -9;-??-??-?\r\n\t]* |
void |
setPeriod(Integer period)
The period, in seconds, associated witht he metric statistics. |
void |
setStatistic(String statistic)
The statistic that the trigger when fetching metrics to examine. |
void |
setTriggerName(String triggerName)
The name for the trigger. |
void |
setUnit(String unit)
Constraints: Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None) |
void |
setUpperBreachScaleIncrement(String upperBreachScaleIncrement)
The incremental amount to use when performing scaling activities after the upper threshold has been breached. |
void |
setUpperThreshold(Double upperThreshold)
The upper limit for the metric. |
String |
toString()
|
CreateOrUpdateScalingTriggerRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the AutoScalingGroup to be associated with the trigger. |
CreateOrUpdateScalingTriggerRequest |
withBreachDuration(Integer breachDuration)
The amount of time, in seconds, used to evaluate and determine if a breach is occurring. |
CreateOrUpdateScalingTriggerRequest |
withCustomUnit(String customUnit)
The standard unit of measurement for a given measure that the trigger uses when fetching metrics to examine. |
CreateOrUpdateScalingTriggerRequest |
withDimensions(Collection<Dimension> dimensions)
A list of dimensions associated with the metric used by the trigger to determine whether to fire. |
CreateOrUpdateScalingTriggerRequest |
withDimensions(Dimension... dimensions)
A list of dimensions associated with the metric used by the trigger to determine whether to fire. |
CreateOrUpdateScalingTriggerRequest |
withLowerBreachScaleIncrement(String lowerBreachScaleIncrement)
The incremental amount to use when performing scaling activities after the lower threshold has been breached. |
CreateOrUpdateScalingTriggerRequest |
withLowerThreshold(Double lowerThreshold)
The lower limit for the metric. |
CreateOrUpdateScalingTriggerRequest |
withMeasureName(String measureName)
The measure name associated with the metric used by the trigger to determine when to fire. |
CreateOrUpdateScalingTriggerRequest |
withNamespace(String namespace)
Returns a reference to this object so that method calls can be chained together. |
CreateOrUpdateScalingTriggerRequest |
withPeriod(Integer period)
The period, in seconds, associated witht he metric statistics. |
CreateOrUpdateScalingTriggerRequest |
withStatistic(String statistic)
The statistic that the trigger when fetching metrics to examine. |
CreateOrUpdateScalingTriggerRequest |
withTriggerName(String triggerName)
The name for the trigger. |
CreateOrUpdateScalingTriggerRequest |
withUnit(String unit)
Returns a reference to this object so that method calls can be chained together. |
CreateOrUpdateScalingTriggerRequest |
withUpperBreachScaleIncrement(String upperBreachScaleIncrement)
The incremental amount to use when performing scaling activities after the upper threshold has been breached. |
CreateOrUpdateScalingTriggerRequest |
withUpperThreshold(Double upperThreshold)
The upper limit for the metric. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateOrUpdateScalingTriggerRequest()
Method Detail |
---|
public String getTriggerName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setTriggerName(String triggerName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
triggerName
- The name for the trigger.public CreateOrUpdateScalingTriggerRequest withTriggerName(String triggerName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
triggerName
- The name for the trigger.
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name of the AutoScalingGroup to be associated with the
trigger.public CreateOrUpdateScalingTriggerRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name of the AutoScalingGroup to be associated with the
trigger.
public String getMeasureName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setMeasureName(String measureName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
measureName
- The measure name associated with the metric used by the trigger to
determine when to fire. For more information, please see Amazon CloudWatch product
documentation.public CreateOrUpdateScalingTriggerRequest withMeasureName(String measureName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
measureName
- The measure name associated with the metric used by the trigger to
determine when to fire. For more information, please see Amazon CloudWatch product
documentation.
public String getStatistic()
Constraints:
Pattern: (Average|Sum|Minimum|Maximum)
public void setStatistic(String statistic)
Constraints:
Pattern: (Average|Sum|Minimum|Maximum)
statistic
- The statistic that the trigger when fetching metrics to examine.public CreateOrUpdateScalingTriggerRequest withStatistic(String statistic)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (Average|Sum|Minimum|Maximum)
statistic
- The statistic that the trigger when fetching metrics to examine.
public List<Dimension> getDimensions()
Constraints:
Length: 1 -
public void setDimensions(Collection<Dimension> dimensions)
Constraints:
Length: 1 -
dimensions
- A list of dimensions associated with the metric used by the trigger to
determine whether to fire. For more information, please see Amazon CloudWatch product
documentation.public CreateOrUpdateScalingTriggerRequest withDimensions(Dimension... dimensions)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
dimensions
- A list of dimensions associated with the metric used by the trigger to
determine whether to fire. For more information, please see Amazon CloudWatch product
documentation.
public CreateOrUpdateScalingTriggerRequest withDimensions(Collection<Dimension> dimensions)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
dimensions
- A list of dimensions associated with the metric used by the trigger to
determine whether to fire. For more information, please see Amazon CloudWatch product
documentation.
public Integer getPeriod()
public void setPeriod(Integer period)
period
- The period, in seconds, associated witht he metric statistics.public CreateOrUpdateScalingTriggerRequest withPeriod(Integer period)
Returns a reference to this object so that method calls can be chained together.
period
- The period, in seconds, associated witht he metric statistics.
public String getUnit()
Constraints:
Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None)
public void setUnit(String unit)
Constraints:
Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None)
unit
- public CreateOrUpdateScalingTriggerRequest withUnit(String unit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None)
unit
-
public String getCustomUnit()
Constraints:
Pattern: [ -??-??-?\r\n\t]*
public void setCustomUnit(String customUnit)
Constraints:
Pattern: [ -??-??-?\r\n\t]*
customUnit
- The standard unit of measurement for a given measure that the trigger
uses when fetching metrics to examine.public CreateOrUpdateScalingTriggerRequest withCustomUnit(String customUnit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ -??-??-?\r\n\t]*
customUnit
- The standard unit of measurement for a given measure that the trigger
uses when fetching metrics to examine.
public String getNamespace()
Constraints:
Length: 1 - 100
Pattern: [ -9;-??-??-?\r\n\t]*
public void setNamespace(String namespace)
Constraints:
Length: 1 - 100
Pattern: [ -9;-??-??-?\r\n\t]*
namespace
- public CreateOrUpdateScalingTriggerRequest withNamespace(String namespace)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: [ -9;-??-??-?\r\n\t]*
namespace
-
public Double getLowerThreshold()
public void setLowerThreshold(Double lowerThreshold)
lowerThreshold
- The lower limit for the metric. If all data points in the last
BreachDuration seconds fall below the lower threshold or exceed the
upper threshold, the trigger activates.public CreateOrUpdateScalingTriggerRequest withLowerThreshold(Double lowerThreshold)
Returns a reference to this object so that method calls can be chained together.
lowerThreshold
- The lower limit for the metric. If all data points in the last
BreachDuration seconds fall below the lower threshold or exceed the
upper threshold, the trigger activates.
public String getLowerBreachScaleIncrement()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setLowerBreachScaleIncrement(String lowerBreachScaleIncrement)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
lowerBreachScaleIncrement
- The incremental amount to use when performing scaling activities after
the lower threshold has been breached.public CreateOrUpdateScalingTriggerRequest withLowerBreachScaleIncrement(String lowerBreachScaleIncrement)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
lowerBreachScaleIncrement
- The incremental amount to use when performing scaling activities after
the lower threshold has been breached.
public Double getUpperThreshold()
public void setUpperThreshold(Double upperThreshold)
upperThreshold
- The upper limit for the metric. If all data points in the last
BreachDuration seconds fall below the lower threshold or exceed the
upper threshold, the trigger activates.public CreateOrUpdateScalingTriggerRequest withUpperThreshold(Double upperThreshold)
Returns a reference to this object so that method calls can be chained together.
upperThreshold
- The upper limit for the metric. If all data points in the last
BreachDuration seconds fall below the lower threshold or exceed the
upper threshold, the trigger activates.
public String getUpperBreachScaleIncrement()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setUpperBreachScaleIncrement(String upperBreachScaleIncrement)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
upperBreachScaleIncrement
- The incremental amount to use when performing scaling activities after
the upper threshold has been breached. public CreateOrUpdateScalingTriggerRequest withUpperBreachScaleIncrement(String upperBreachScaleIncrement)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
upperBreachScaleIncrement
- The incremental amount to use when performing scaling activities after
the upper threshold has been breached. public Integer getBreachDuration()
Constraints:
Range: 120 - 86400
public void setBreachDuration(Integer breachDuration)
Constraints:
Range: 120 - 86400
breachDuration
- The amount of time, in seconds, used to evaluate and determine if a
breach is occurring. The service will look at data between the current
time and the number of seconds specified in this parameter to see if a
breach has occurred.public CreateOrUpdateScalingTriggerRequest withBreachDuration(Integer breachDuration)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 120 - 86400
breachDuration
- The amount of time, in seconds, used to evaluate and determine if a
breach is occurring. The service will look at data between the current
time and the number of seconds specified in this parameter to see if a
breach has occurred.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |