|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.autoscaling.model.Trigger
public class Trigger
The Trigger data type.
Constructor Summary | |
---|---|
Trigger()
|
Method Summary | |
---|---|
String |
getAutoScalingGroupName()
Contains the name of the AutoScalingGroup to which the trigger belongs. |
Integer |
getBreachDuration()
Specifies the amount of time to wait while the trigger is firing before performing scaling activities in response to the breach. |
Date |
getCreatedTime()
Contains the creation date and time for the trigger. |
String |
getCustomUnit()
Constraints: Pattern: [ -??-??-?\r\n\t]* |
List<Dimension> |
getDimensions()
Contains the dimensions used to retrieve metric statistics that the trigger uses to determine when to fire. |
String |
getLowerBreachScaleIncrement()
Specifies the incremental amount to use when performing scaling activities when the lower threshold has been breached. |
Double |
getLowerThreshold()
Specifies the lower limit for the metric. |
String |
getMeasureName()
Contains the measure name used by the trigger to determine when to fire. |
String |
getNamespace()
Constraints: Length: 1 - 100 Pattern: [ -9;-??-??-?\r\n\t]* |
Integer |
getPeriod()
Specifies the period used in retrieving metric statistics used by the trigger to determine when to fire. |
String |
getStatistic()
Contains the statistic used by the trigger to determine which metric statistics to examine. |
String |
getStatus()
Provides the current status of the trigger. |
String |
getTriggerName()
Contains the name of the trigger. |
String |
getUnit()
Contains the standard unit associated with a measure; used by the trigger when fetching the metric statistics it uses to determine when to activate. |
String |
getUpperBreachScaleIncrement()
Specifies the incremental amount to use when performing scaling activities when the upper threshold has been breached. |
Double |
getUpperThreshold()
Specifies the upper limit of the metric used. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
Contains the name of the AutoScalingGroup to which the trigger belongs. |
void |
setBreachDuration(Integer breachDuration)
Specifies the amount of time to wait while the trigger is firing before performing scaling activities in response to the breach. |
void |
setCreatedTime(Date createdTime)
Contains the creation date and time for the trigger. |
void |
setCustomUnit(String customUnit)
Constraints: Pattern: [ -??-??-?\r\n\t]* |
void |
setDimensions(Collection<Dimension> dimensions)
Contains the dimensions used to retrieve metric statistics that the trigger uses to determine when to fire. |
void |
setLowerBreachScaleIncrement(String lowerBreachScaleIncrement)
Specifies the incremental amount to use when performing scaling activities when the lower threshold has been breached. |
void |
setLowerThreshold(Double lowerThreshold)
Specifies the lower limit for the metric. |
void |
setMeasureName(String measureName)
Contains the measure name 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)
Specifies the period used in retrieving metric statistics used by the trigger to determine when to fire. |
void |
setStatistic(String statistic)
Contains the statistic used by the trigger to determine which metric statistics to examine. |
void |
setStatus(String status)
Provides the current status of the trigger. |
void |
setTriggerName(String triggerName)
Contains the name of the trigger. |
void |
setUnit(String unit)
Contains the standard unit associated with a measure; used by the trigger when fetching the metric statistics it uses to determine when to activate. |
void |
setUpperBreachScaleIncrement(String upperBreachScaleIncrement)
Specifies the incremental amount to use when performing scaling activities when the upper threshold has been breached. |
void |
setUpperThreshold(Double upperThreshold)
Specifies the upper limit of the metric used. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Trigger |
withAutoScalingGroupName(String autoScalingGroupName)
Contains the name of the AutoScalingGroup to which the trigger belongs. |
Trigger |
withBreachDuration(Integer breachDuration)
Specifies the amount of time to wait while the trigger is firing before performing scaling activities in response to the breach. |
Trigger |
withCreatedTime(Date createdTime)
Contains the creation date and time for the trigger. |
Trigger |
withCustomUnit(String customUnit)
Returns a reference to this object so that method calls can be chained together. |
Trigger |
withDimensions(Collection<Dimension> dimensions)
Contains the dimensions used to retrieve metric statistics that the trigger uses to determine when to fire. |
Trigger |
withDimensions(Dimension... dimensions)
Contains the dimensions used to retrieve metric statistics that the trigger uses to determine when to fire. |
Trigger |
withLowerBreachScaleIncrement(String lowerBreachScaleIncrement)
Specifies the incremental amount to use when performing scaling activities when the lower threshold has been breached. |
Trigger |
withLowerThreshold(Double lowerThreshold)
Specifies the lower limit for the metric. |
Trigger |
withMeasureName(String measureName)
Contains the measure name used by the trigger to determine when to fire. |
Trigger |
withNamespace(String namespace)
Returns a reference to this object so that method calls can be chained together. |
Trigger |
withPeriod(Integer period)
Specifies the period used in retrieving metric statistics used by the trigger to determine when to fire. |
Trigger |
withStatistic(String statistic)
Contains the statistic used by the trigger to determine which metric statistics to examine. |
Trigger |
withStatus(String status)
Provides the current status of the trigger. |
Trigger |
withTriggerName(String triggerName)
Contains the name of the trigger. |
Trigger |
withUnit(String unit)
Contains the standard unit associated with a measure; used by the trigger when fetching the metric statistics it uses to determine when to activate. |
Trigger |
withUpperBreachScaleIncrement(String upperBreachScaleIncrement)
Specifies the incremental amount to use when performing scaling activities when the upper threshold has been breached. |
Trigger |
withUpperThreshold(Double upperThreshold)
Specifies the upper limit of the metric used. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Trigger()
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
- Contains the name of the trigger.public Trigger 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
- Contains the name of 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
- Contains the name of the AutoScalingGroup to which the trigger
belongs.public Trigger 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
- Contains the name of the AutoScalingGroup to which the trigger
belongs.
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
- Contains the measure name used by the trigger to determine when to
fire.public Trigger 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
- Contains the measure name used by the trigger to determine when to
fire.
public String getStatistic()
Constraints:
Pattern: (Average|Sum|Minimum|Maximum)
public void setStatistic(String statistic)
Constraints:
Pattern: (Average|Sum|Minimum|Maximum)
statistic
- Contains the statistic used by the trigger to determine which metric
statistics to examine.public Trigger withStatistic(String statistic)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (Average|Sum|Minimum|Maximum)
statistic
- Contains the statistic used by the trigger to determine which metric
statistics to examine.
public List<Dimension> getDimensions()
Constraints:
Length: 1 -
public void setDimensions(Collection<Dimension> dimensions)
Constraints:
Length: 1 -
dimensions
- Contains the dimensions used to retrieve metric statistics that the
trigger uses to determine when to fire.public Trigger withDimensions(Dimension... dimensions)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
dimensions
- Contains the dimensions used to retrieve metric statistics that the
trigger uses to determine when to fire.
public Trigger withDimensions(Collection<Dimension> dimensions)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
dimensions
- Contains the dimensions used to retrieve metric statistics that the
trigger uses to determine when to fire.
public Integer getPeriod()
public void setPeriod(Integer period)
period
- Specifies the period used in retrieving metric statistics used by the
trigger to determine when to fire.public Trigger withPeriod(Integer period)
Returns a reference to this object so that method calls can be chained together.
period
- Specifies the period used in retrieving metric statistics used by the
trigger to determine when to fire.
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
- Contains the standard unit associated with a measure; used by the
trigger when fetching the metric statistics it uses to determine when
to activate.public Trigger 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
- Contains the standard unit associated with a measure; used by the
trigger when fetching the metric statistics it uses to determine when
to activate.
public String getCustomUnit()
Constraints:
Pattern: [ -??-??-?\r\n\t]*
public void setCustomUnit(String customUnit)
Constraints:
Pattern: [ -??-??-?\r\n\t]*
customUnit
- public Trigger withCustomUnit(String customUnit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ -??-??-?\r\n\t]*
customUnit
-
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 Trigger 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
- Specifies the lower limit for the metric.public Trigger withLowerThreshold(Double lowerThreshold)
Returns a reference to this object so that method calls can be chained together.
lowerThreshold
- Specifies the lower limit for the metric.
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
- Specifies the incremental amount to use when performing scaling
activities when the lower threshold has been breached.public Trigger 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
- Specifies the incremental amount to use when performing scaling
activities when the lower threshold has been breached.
public Double getUpperThreshold()
public void setUpperThreshold(Double upperThreshold)
upperThreshold
- Specifies the upper limit of the metric used.public Trigger withUpperThreshold(Double upperThreshold)
Returns a reference to this object so that method calls can be chained together.
upperThreshold
- Specifies the upper limit of the metric used.
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
- Specifies the incremental amount to use when performing scaling
activities when the upper threshold has been breached.public Trigger 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
- Specifies the incremental amount to use when performing scaling
activities when the upper threshold has been breached.
public Integer getBreachDuration()
Constraints:
Range: 120 - 86400
public void setBreachDuration(Integer breachDuration)
Constraints:
Range: 120 - 86400
breachDuration
- Specifies the amount of time to wait while the trigger is firing
before performing scaling activities in response to the breach.public Trigger withBreachDuration(Integer breachDuration)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 120 - 86400
breachDuration
- Specifies the amount of time to wait while the trigger is firing
before performing scaling activities in response to the breach.
public String getStatus()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setStatus(String status)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
status
- Provides the current status of the trigger.public Trigger withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
status
- Provides the current status of the trigger.
public Date getCreatedTime()
public void setCreatedTime(Date createdTime)
createdTime
- Contains the creation date and time for the trigger.public Trigger withCreatedTime(Date createdTime)
Returns a reference to this object so that method calls can be chained together.
createdTime
- Contains the creation date and time for the trigger.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |