@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAutoScalingAutoScalingGroupDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about an auto scaling group.
Constructor and Description |
---|
AwsAutoScalingAutoScalingGroupDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAutoScalingAutoScalingGroupDetails |
clone() |
boolean |
equals(Object obj) |
List<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> |
getAvailabilityZones()
The list of Availability Zones for the automatic scaling group.
|
Boolean |
getCapacityRebalance()
Indicates whether capacity rebalancing is enabled.
|
String |
getCreatedTime()
Indicates when the auto scaling group was created.
|
Integer |
getHealthCheckGracePeriod()
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.
|
String |
getHealthCheckType()
The service to use for the health checks.
|
String |
getLaunchConfigurationName()
The name of the launch configuration.
|
AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification |
getLaunchTemplate()
The launch template to use.
|
List<String> |
getLoadBalancerNames()
The list of load balancers associated with the group.
|
AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails |
getMixedInstancesPolicy()
The mixed instances policy for the automatic scaling group.
|
int |
hashCode() |
Boolean |
isCapacityRebalance()
Indicates whether capacity rebalancing is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZones(Collection<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> availabilityZones)
The list of Availability Zones for the automatic scaling group.
|
void |
setCapacityRebalance(Boolean capacityRebalance)
Indicates whether capacity rebalancing is enabled.
|
void |
setCreatedTime(String createdTime)
Indicates when the auto scaling group was created.
|
void |
setHealthCheckGracePeriod(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.
|
void |
setHealthCheckType(String healthCheckType)
The service to use for the health checks.
|
void |
setLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration.
|
void |
setLaunchTemplate(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification launchTemplate)
The launch template to use.
|
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
The list of load balancers associated with the group.
|
void |
setMixedInstancesPolicy(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails mixedInstancesPolicy)
The mixed instances policy for the automatic scaling group.
|
String |
toString()
Returns a string representation of this object.
|
AwsAutoScalingAutoScalingGroupDetails |
withAvailabilityZones(AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails... availabilityZones)
The list of Availability Zones for the automatic scaling group.
|
AwsAutoScalingAutoScalingGroupDetails |
withAvailabilityZones(Collection<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> availabilityZones)
The list of Availability Zones for the automatic scaling group.
|
AwsAutoScalingAutoScalingGroupDetails |
withCapacityRebalance(Boolean capacityRebalance)
Indicates whether capacity rebalancing is enabled.
|
AwsAutoScalingAutoScalingGroupDetails |
withCreatedTime(String createdTime)
Indicates when the auto scaling group was created.
|
AwsAutoScalingAutoScalingGroupDetails |
withHealthCheckGracePeriod(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.
|
AwsAutoScalingAutoScalingGroupDetails |
withHealthCheckType(String healthCheckType)
The service to use for the health checks.
|
AwsAutoScalingAutoScalingGroupDetails |
withLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration.
|
AwsAutoScalingAutoScalingGroupDetails |
withLaunchTemplate(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification launchTemplate)
The launch template to use.
|
AwsAutoScalingAutoScalingGroupDetails |
withLoadBalancerNames(Collection<String> loadBalancerNames)
The list of load balancers associated with the group.
|
AwsAutoScalingAutoScalingGroupDetails |
withLoadBalancerNames(String... loadBalancerNames)
The list of load balancers associated with the group.
|
AwsAutoScalingAutoScalingGroupDetails |
withMixedInstancesPolicy(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails mixedInstancesPolicy)
The mixed instances policy for the automatic scaling group.
|
public AwsAutoScalingAutoScalingGroupDetails()
public void setLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration.
launchConfigurationName
- The name of the launch configuration.public String getLaunchConfigurationName()
The name of the launch configuration.
public AwsAutoScalingAutoScalingGroupDetails withLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration.
launchConfigurationName
- The name of the launch configuration.public List<String> getLoadBalancerNames()
The list of load balancers associated with the group.
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
The list of load balancers associated with the group.
loadBalancerNames
- The list of load balancers associated with the group.public AwsAutoScalingAutoScalingGroupDetails withLoadBalancerNames(String... loadBalancerNames)
The list of load balancers associated with the group.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancerNames(java.util.Collection)
or withLoadBalancerNames(java.util.Collection)
if
you want to override the existing values.
loadBalancerNames
- The list of load balancers associated with the group.public AwsAutoScalingAutoScalingGroupDetails withLoadBalancerNames(Collection<String> loadBalancerNames)
The list of load balancers associated with the group.
loadBalancerNames
- The list of load balancers associated with the group.public void setHealthCheckType(String healthCheckType)
The service to use for the health checks. Valid values are EC2
or ELB
.
healthCheckType
- The service to use for the health checks. Valid values are EC2
or ELB
.public String getHealthCheckType()
The service to use for the health checks. Valid values are EC2
or ELB
.
EC2
or ELB
.public AwsAutoScalingAutoScalingGroupDetails withHealthCheckType(String healthCheckType)
The service to use for the health checks. Valid values are EC2
or ELB
.
healthCheckType
- The service to use for the health checks. Valid values are EC2
or ELB
.public void setHealthCheckGracePeriod(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.
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.public Integer getHealthCheckGracePeriod()
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.
public AwsAutoScalingAutoScalingGroupDetails withHealthCheckGracePeriod(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.
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.public void setCreatedTime(String createdTime)
Indicates when the auto scaling group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
createdTime
- Indicates when the auto scaling group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getCreatedTime()
Indicates when the auto scaling group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public AwsAutoScalingAutoScalingGroupDetails withCreatedTime(String createdTime)
Indicates when the auto scaling group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
createdTime
- Indicates when the auto scaling group was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setMixedInstancesPolicy(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails mixedInstancesPolicy)
The mixed instances policy for the automatic scaling group.
mixedInstancesPolicy
- The mixed instances policy for the automatic scaling group.public AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails getMixedInstancesPolicy()
The mixed instances policy for the automatic scaling group.
public AwsAutoScalingAutoScalingGroupDetails withMixedInstancesPolicy(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails mixedInstancesPolicy)
The mixed instances policy for the automatic scaling group.
mixedInstancesPolicy
- The mixed instances policy for the automatic scaling group.public List<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> getAvailabilityZones()
The list of Availability Zones for the automatic scaling group.
public void setAvailabilityZones(Collection<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> availabilityZones)
The list of Availability Zones for the automatic scaling group.
availabilityZones
- The list of Availability Zones for the automatic scaling group.public AwsAutoScalingAutoScalingGroupDetails withAvailabilityZones(AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails... availabilityZones)
The list of Availability Zones for the automatic scaling group.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The list of Availability Zones for the automatic scaling group.public AwsAutoScalingAutoScalingGroupDetails withAvailabilityZones(Collection<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> availabilityZones)
The list of Availability Zones for the automatic scaling group.
availabilityZones
- The list of Availability Zones for the automatic scaling group.public void setLaunchTemplate(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification launchTemplate)
The launch template to use.
launchTemplate
- The launch template to use.public AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification getLaunchTemplate()
The launch template to use.
public AwsAutoScalingAutoScalingGroupDetails withLaunchTemplate(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification launchTemplate)
The launch template to use.
launchTemplate
- The launch template to use.public void setCapacityRebalance(Boolean capacityRebalance)
Indicates whether capacity rebalancing is enabled.
capacityRebalance
- Indicates whether capacity rebalancing is enabled.public Boolean getCapacityRebalance()
Indicates whether capacity rebalancing is enabled.
public AwsAutoScalingAutoScalingGroupDetails withCapacityRebalance(Boolean capacityRebalance)
Indicates whether capacity rebalancing is enabled.
capacityRebalance
- Indicates whether capacity rebalancing is enabled.public Boolean isCapacityRebalance()
Indicates whether capacity rebalancing is enabled.
public String toString()
toString
in class Object
Object.toString()
public AwsAutoScalingAutoScalingGroupDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.