Class AutoScalingGroup
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.AutoScalingGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoScalingGroup.Builder,AutoScalingGroup>
@Generated("software.amazon.awssdk:codegen") public final class AutoScalingGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoScalingGroup.Builder,AutoScalingGroup>
Information about an Auto Scaling group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoScalingGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoScalingGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhook()The name of the launch hook that CodeDeploy installed into the Auto Scaling group.Stringname()The Auto Scaling group name.List<SdkField<?>>sdkFields()static Class<? extends AutoScalingGroup.Builder>serializableBuilderClass()StringterminationHook()The name of the termination hook that CodeDeploy installed into the Auto Scaling group.AutoScalingGroup.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The Auto Scaling group name.
- Returns:
- The Auto Scaling group name.
-
hook
public final 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.
- Returns:
- 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.
-
terminationHook
public final 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.
- Returns:
- 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.
-
toBuilder
public AutoScalingGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoScalingGroup.Builder,AutoScalingGroup>
-
builder
public static AutoScalingGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoScalingGroup.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-