Class AutoScalingGroup
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.AutoScalingGroup
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AutoScalingGroup extends Object implements Serializable, Cloneable
Information about an Auto Scaling group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AutoScalingGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoScalingGroupclone()booleanequals(Object obj)StringgetHook()An Auto Scaling lifecycle event hook name.StringgetName()The Auto Scaling group name.inthashCode()voidsetHook(String hook)An Auto Scaling lifecycle event hook name.voidsetName(String name)The Auto Scaling group name.StringtoString()Returns a string representation of this object; useful for testing and debugging.AutoScalingGroupwithHook(String hook)An Auto Scaling lifecycle event hook name.AutoScalingGroupwithName(String name)The Auto Scaling group name.
-
-
-
Method Detail
-
setName
public void setName(String name)
The Auto Scaling group name.
- Parameters:
name- The Auto Scaling group name.
-
getName
public String getName()
The Auto Scaling group name.
- Returns:
- The Auto Scaling group name.
-
withName
public AutoScalingGroup withName(String name)
The Auto Scaling group name.
- Parameters:
name- The Auto Scaling group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHook
public void setHook(String hook)
An Auto Scaling lifecycle event hook name.
- Parameters:
hook- An Auto Scaling lifecycle event hook name.
-
getHook
public String getHook()
An Auto Scaling lifecycle event hook name.
- Returns:
- An Auto Scaling lifecycle event hook name.
-
withHook
public AutoScalingGroup withHook(String hook)
An Auto Scaling lifecycle event hook name.
- Parameters:
hook- An Auto Scaling lifecycle event hook name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AutoScalingGroup clone()
-
-