@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) |
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.
|
List<String> |
getLoadBalancerNames()
The list of load balancers associated with the group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setLoadBalancerNames(Collection<String> loadBalancerNames)
The list of load balancers associated with the group.
|
String |
toString()
Returns a string representation of this object.
|
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 |
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.
|
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.
healthCheckType
- The service to use for the health checks.public String getHealthCheckType()
The service to use for the health checks.
public AwsAutoScalingAutoScalingGroupDetails withHealthCheckType(String healthCheckType)
The service to use for the health checks.
healthCheckType
- The service to use for the health checks.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.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdTime
- Indicates when the auto scaling group was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getCreatedTime()
Indicates when the auto scaling group was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public AwsAutoScalingAutoScalingGroupDetails withCreatedTime(String createdTime)
Indicates when the auto scaling group was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdTime
- Indicates when the auto scaling group was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
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.