Class AwsAutoScalingAutoScalingGroupDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsAutoScalingAutoScalingGroupDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,AwsAutoScalingAutoScalingGroupDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsAutoScalingAutoScalingGroupDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,AwsAutoScalingAutoScalingGroupDetails>
Provides details about an auto scaling group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsAutoScalingAutoScalingGroupDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails>availabilityZones()The list of Availability Zones for the automatic scaling group.static AwsAutoScalingAutoScalingGroupDetails.Builderbuilder()BooleancapacityRebalance()Indicates whether capacity rebalancing is enabled.StringcreatedTime()Indicates when the auto scaling group was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAvailabilityZones()For responses, this returns true if the service returned a value for the AvailabilityZones property.inthashCode()booleanhasLoadBalancerNames()For responses, this returns true if the service returned a value for the LoadBalancerNames property.IntegerhealthCheckGracePeriod()The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the health status of an EC2 instance that has come into service.StringhealthCheckType()The service to use for the health checks.StringlaunchConfigurationName()The name of the launch configuration.AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecificationlaunchTemplate()The launch template to use.List<String>loadBalancerNames()The list of load balancers associated with the group.AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetailsmixedInstancesPolicy()The mixed instances policy for the automatic scaling group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsAutoScalingAutoScalingGroupDetails.Builder>serializableBuilderClass()AwsAutoScalingAutoScalingGroupDetails.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
-
launchConfigurationName
public final String launchConfigurationName()
The name of the launch configuration.
- Returns:
- The name of the launch configuration.
-
hasLoadBalancerNames
public final boolean hasLoadBalancerNames()
For responses, this returns true if the service returned a value for the LoadBalancerNames property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
loadBalancerNames
public final List<String> loadBalancerNames()
The list of load balancers associated with the group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasLoadBalancerNames()method.- Returns:
- The list of load balancers associated with the group.
-
healthCheckType
public final String healthCheckType()
The service to use for the health checks. Valid values are
EC2orELB.- Returns:
- The service to use for the health checks. Valid values are
EC2orELB.
-
healthCheckGracePeriod
public final Integer healthCheckGracePeriod()
The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the health status of an EC2 instance that has come into service.
- Returns:
- The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the health status of an EC2 instance that has come into service.
-
createdTime
public final String createdTime()
Indicates when the auto scaling group was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Indicates when the auto scaling group was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
-
mixedInstancesPolicy
public final AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails mixedInstancesPolicy()
The mixed instances policy for the automatic scaling group.
- Returns:
- The mixed instances policy for the automatic scaling group.
-
hasAvailabilityZones
public final boolean hasAvailabilityZones()
For responses, this returns true if the service returned a value for the AvailabilityZones property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
availabilityZones
public final List<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> availabilityZones()
The list of Availability Zones for the automatic scaling group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAvailabilityZones()method.- Returns:
- The list of Availability Zones for the automatic scaling group.
-
launchTemplate
public final AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification launchTemplate()
The launch template to use.
- Returns:
- The launch template to use.
-
capacityRebalance
public final Boolean capacityRebalance()
Indicates whether capacity rebalancing is enabled.
- Returns:
- Indicates whether capacity rebalancing is enabled.
-
toBuilder
public AwsAutoScalingAutoScalingGroupDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,AwsAutoScalingAutoScalingGroupDetails>
-
builder
public static AwsAutoScalingAutoScalingGroupDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsAutoScalingAutoScalingGroupDetails.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-