@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroup extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Auto Scaling group.
Constructor and Description |
---|
AutoScalingGroup() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroup |
clone() |
boolean |
equals(Object obj) |
String |
getHook()
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
|
String |
getName()
The Auto Scaling group name.
|
String |
getTerminationHook()
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHook(String hook)
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
|
void |
setName(String name)
The Auto Scaling group name.
|
void |
setTerminationHook(String terminationHook)
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingGroup |
withHook(String hook)
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
|
AutoScalingGroup |
withName(String name)
The Auto Scaling group name.
|
AutoScalingGroup |
withTerminationHook(String terminationHook)
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
|
public void setName(String name)
The Auto Scaling group name.
name
- The Auto Scaling group name.public String getName()
The Auto Scaling group name.
public AutoScalingGroup withName(String name)
The Auto Scaling group name.
name
- The Auto Scaling group name.public void setHook(String hook)
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
hook
- The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
public String getHook()
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
public AutoScalingGroup withHook(String hook)
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
hook
- The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
public void setTerminationHook(String terminationHook)
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
terminationHook
- The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
public String getTerminationHook()
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
public AutoScalingGroup withTerminationHook(String terminationHook)
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
terminationHook
- The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
public String toString()
toString
in class Object
Object.toString()
public AutoScalingGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.