Class AwsAutoScalingAutoScalingGroupDetails

    • 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 the isEmpty() 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 EC2 or ELB.

        Returns:
        The service to use for the health checks. Valid values are EC2 or ELB.
      • 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.

      • 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 the isEmpty() 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.
      • capacityRebalance

        public final Boolean capacityRebalance()

        Indicates whether capacity rebalancing is enabled.

        Returns:
        Indicates whether capacity rebalancing is enabled.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)