@Generated(value="software.amazon.awssdk:codegen") public final class AwsAutoScalingLaunchConfigurationDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsAutoScalingLaunchConfigurationDetails.Builder,AwsAutoScalingLaunchConfigurationDetails>
Details about a launch configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsAutoScalingLaunchConfigurationDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
associatePublicIpAddress()
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's
instances.
|
List<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> |
blockDeviceMappings()
Specifies the block devices for the instance.
|
static AwsAutoScalingLaunchConfigurationDetails.Builder |
builder() |
String |
classicLinkVpcId()
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
|
List<String> |
classicLinkVpcSecurityGroups()
The identifiers of one or more security groups for the VPC that is specified in
ClassicLinkVPCId. |
String |
createdTime()
The creation date and time for the launch configuration.
|
Boolean |
ebsOptimized()
Whether the launch configuration is optimized for Amazon EBS I/O.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBlockDeviceMappings()
For responses, this returns true if the service returned a value for the BlockDeviceMappings property.
|
boolean |
hasClassicLinkVpcSecurityGroups()
For responses, this returns true if the service returned a value for the ClassicLinkVpcSecurityGroups property.
|
int |
hashCode() |
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
String |
iamInstanceProfile()
The name or the ARN of the instance profile associated with the IAM role for the instance.
|
String |
imageId()
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
|
AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails |
instanceMonitoring()
Indicates the type of monitoring for instances in the group.
|
String |
instanceType()
The instance type for the instances.
|
String |
kernelId()
The identifier of the kernel associated with the AMI.
|
String |
keyName()
The name of the key pair.
|
String |
launchConfigurationName()
The name of the launch configuration.
|
AwsAutoScalingLaunchConfigurationMetadataOptions |
metadataOptions()
The metadata options for the instances.
|
String |
placementTenancy()
The tenancy of the instance.
|
String |
ramdiskId()
The identifier of the RAM disk associated with the AMI.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The security groups to assign to the instances in the Auto Scaling group.
|
static Class<? extends AwsAutoScalingLaunchConfigurationDetails.Builder> |
serializableBuilderClass() |
String |
spotPrice()
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
|
AwsAutoScalingLaunchConfigurationDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userData()
The user data to make available to the launched EC2 instances.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean associatePublicIpAddress()
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
public final boolean hasBlockDeviceMappings()
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.public final List<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> blockDeviceMappings()
Specifies the block devices for the instance.
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 hasBlockDeviceMappings() method.
public final String classicLinkVpcId()
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
public final boolean hasClassicLinkVpcSecurityGroups()
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.public final List<String> classicLinkVpcSecurityGroups()
The identifiers of one or more security groups for the VPC that is specified in ClassicLinkVPCId.
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 hasClassicLinkVpcSecurityGroups() method.
ClassicLinkVPCId.public final String createdTime()
The creation date and time for the launch configuration.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. 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, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final Boolean ebsOptimized()
Whether the launch configuration is optimized for Amazon EBS I/O.
public final String iamInstanceProfile()
The name or the ARN of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.
public final String imageId()
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
public final AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails instanceMonitoring()
Indicates the type of monitoring for instances in the group.
public final String instanceType()
The instance type for the instances.
public final String kernelId()
The identifier of the kernel associated with the AMI.
public final String keyName()
The name of the key pair.
public final String launchConfigurationName()
The name of the launch configuration.
public final String placementTenancy()
The tenancy of the instance. An instance with dedicated tenancy runs on isolated, single-tenant
hardware and can only be launched into a VPC.
dedicated tenancy runs on isolated,
single-tenant hardware and can only be launched into a VPC.public final String ramdiskId()
The identifier of the RAM disk associated with the AMI.
public final boolean hasSecurityGroups()
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.public final List<String> securityGroups()
The security groups to assign to the instances in the Auto 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 hasSecurityGroups() method.
public final String spotPrice()
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
public final String userData()
The user data to make available to the launched EC2 instances. Must be base64-encoded text.
public final AwsAutoScalingLaunchConfigurationMetadataOptions metadataOptions()
The metadata options for the instances.
public AwsAutoScalingLaunchConfigurationDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsAutoScalingLaunchConfigurationDetails.Builder,AwsAutoScalingLaunchConfigurationDetails>public static AwsAutoScalingLaunchConfigurationDetails.Builder builder()
public static Class<? extends AwsAutoScalingLaunchConfigurationDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.