Interface AwsAutoScalingLaunchConfigurationDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAutoScalingLaunchConfigurationDetails.Builder,AwsAutoScalingLaunchConfigurationDetails>,SdkBuilder<AwsAutoScalingLaunchConfigurationDetails.Builder,AwsAutoScalingLaunchConfigurationDetails>,SdkPojo
- Enclosing class:
- AwsAutoScalingLaunchConfigurationDetails
public static interface AwsAutoScalingLaunchConfigurationDetails.Builder extends SdkPojo, CopyableBuilder<AwsAutoScalingLaunchConfigurationDetails.Builder,AwsAutoScalingLaunchConfigurationDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsAutoScalingLaunchConfigurationDetails.BuilderassociatePublicIpAddress(Boolean associatePublicIpAddress)For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.AwsAutoScalingLaunchConfigurationDetails.BuilderblockDeviceMappings(Collection<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> blockDeviceMappings)Specifies the block devices for the instance.AwsAutoScalingLaunchConfigurationDetails.BuilderblockDeviceMappings(Consumer<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder>... blockDeviceMappings)Specifies the block devices for the instance.AwsAutoScalingLaunchConfigurationDetails.BuilderblockDeviceMappings(AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails... blockDeviceMappings)Specifies the block devices for the instance.AwsAutoScalingLaunchConfigurationDetails.BuilderclassicLinkVpcId(String classicLinkVpcId)The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.AwsAutoScalingLaunchConfigurationDetails.BuilderclassicLinkVpcSecurityGroups(String... classicLinkVpcSecurityGroups)The identifiers of one or more security groups for the VPC that is specified inClassicLinkVPCId.AwsAutoScalingLaunchConfigurationDetails.BuilderclassicLinkVpcSecurityGroups(Collection<String> classicLinkVpcSecurityGroups)The identifiers of one or more security groups for the VPC that is specified inClassicLinkVPCId.AwsAutoScalingLaunchConfigurationDetails.BuildercreatedTime(String createdTime)The creation date and time for the launch configuration.AwsAutoScalingLaunchConfigurationDetails.BuilderebsOptimized(Boolean ebsOptimized)Whether the launch configuration is optimized for Amazon EBS I/O.AwsAutoScalingLaunchConfigurationDetails.BuilderiamInstanceProfile(String iamInstanceProfile)The name or the ARN of the instance profile associated with the IAM role for the instance.AwsAutoScalingLaunchConfigurationDetails.BuilderimageId(String imageId)The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.default AwsAutoScalingLaunchConfigurationDetails.BuilderinstanceMonitoring(Consumer<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails.Builder> instanceMonitoring)Indicates the type of monitoring for instances in the group.AwsAutoScalingLaunchConfigurationDetails.BuilderinstanceMonitoring(AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails instanceMonitoring)Indicates the type of monitoring for instances in the group.AwsAutoScalingLaunchConfigurationDetails.BuilderinstanceType(String instanceType)The instance type for the instances.AwsAutoScalingLaunchConfigurationDetails.BuilderkernelId(String kernelId)The identifier of the kernel associated with the AMI.AwsAutoScalingLaunchConfigurationDetails.BuilderkeyName(String keyName)The name of the key pair.AwsAutoScalingLaunchConfigurationDetails.BuilderlaunchConfigurationName(String launchConfigurationName)The name of the launch configuration.default AwsAutoScalingLaunchConfigurationDetails.BuildermetadataOptions(Consumer<AwsAutoScalingLaunchConfigurationMetadataOptions.Builder> metadataOptions)The metadata options for the instances.AwsAutoScalingLaunchConfigurationDetails.BuildermetadataOptions(AwsAutoScalingLaunchConfigurationMetadataOptions metadataOptions)The metadata options for the instances.AwsAutoScalingLaunchConfigurationDetails.BuilderplacementTenancy(String placementTenancy)The tenancy of the instance.AwsAutoScalingLaunchConfigurationDetails.BuilderramdiskId(String ramdiskId)The identifier of the RAM disk associated with the AMI.AwsAutoScalingLaunchConfigurationDetails.BuildersecurityGroups(String... securityGroups)The security groups to assign to the instances in the Auto Scaling group.AwsAutoScalingLaunchConfigurationDetails.BuildersecurityGroups(Collection<String> securityGroups)The security groups to assign to the instances in the Auto Scaling group.AwsAutoScalingLaunchConfigurationDetails.BuilderspotPrice(String spotPrice)The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.AwsAutoScalingLaunchConfigurationDetails.BuilderuserData(String userData)The user data to make available to the launched EC2 instances.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
associatePublicIpAddress
AwsAutoScalingLaunchConfigurationDetails.Builder associatePublicIpAddress(Boolean associatePublicIpAddress)
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
- Parameters:
associatePublicIpAddress- For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
AwsAutoScalingLaunchConfigurationDetails.Builder blockDeviceMappings(Collection<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails> blockDeviceMappings)
Specifies the block devices for the instance.
- Parameters:
blockDeviceMappings- Specifies the block devices for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
AwsAutoScalingLaunchConfigurationDetails.Builder blockDeviceMappings(AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails... blockDeviceMappings)
Specifies the block devices for the instance.
- Parameters:
blockDeviceMappings- Specifies the block devices for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
AwsAutoScalingLaunchConfigurationDetails.Builder blockDeviceMappings(Consumer<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder>... blockDeviceMappings)
Specifies the block devices for the instance.
This is a convenience method that creates an instance of theAwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builderavoiding the need to create one manually viaAwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#blockDeviceMappings(List.) - Parameters:
blockDeviceMappings- a consumer that will call methods onAwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#blockDeviceMappings(java.util.Collection)
-
classicLinkVpcId
AwsAutoScalingLaunchConfigurationDetails.Builder classicLinkVpcId(String classicLinkVpcId)
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
- Parameters:
classicLinkVpcId- The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classicLinkVpcSecurityGroups
AwsAutoScalingLaunchConfigurationDetails.Builder classicLinkVpcSecurityGroups(Collection<String> classicLinkVpcSecurityGroups)
The identifiers of one or more security groups for the VPC that is specified in
ClassicLinkVPCId.- Parameters:
classicLinkVpcSecurityGroups- The identifiers of one or more security groups for the VPC that is specified inClassicLinkVPCId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classicLinkVpcSecurityGroups
AwsAutoScalingLaunchConfigurationDetails.Builder classicLinkVpcSecurityGroups(String... classicLinkVpcSecurityGroups)
The identifiers of one or more security groups for the VPC that is specified in
ClassicLinkVPCId.- Parameters:
classicLinkVpcSecurityGroups- The identifiers of one or more security groups for the VPC that is specified inClassicLinkVPCId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
AwsAutoScalingLaunchConfigurationDetails.Builder createdTime(String createdTime)
The creation date and time for the launch configuration.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
createdTime- The creation date and time for the launch configuration.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimized
AwsAutoScalingLaunchConfigurationDetails.Builder ebsOptimized(Boolean ebsOptimized)
Whether the launch configuration is optimized for Amazon EBS I/O.
- Parameters:
ebsOptimized- Whether the launch configuration is optimized for Amazon EBS I/O.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamInstanceProfile
AwsAutoScalingLaunchConfigurationDetails.Builder iamInstanceProfile(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
AwsAutoScalingLaunchConfigurationDetails.Builder imageId(String imageId)
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
- Parameters:
imageId- The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMonitoring
AwsAutoScalingLaunchConfigurationDetails.Builder instanceMonitoring(AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails instanceMonitoring)
Indicates the type of monitoring for instances in the group.
- Parameters:
instanceMonitoring- Indicates the type of monitoring for instances in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMonitoring
default AwsAutoScalingLaunchConfigurationDetails.Builder instanceMonitoring(Consumer<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails.Builder> instanceMonitoring)
Indicates the type of monitoring for instances in the group.
This is a convenience method that creates an instance of theAwsAutoScalingLaunchConfigurationInstanceMonitoringDetails.Builderavoiding the need to create one manually viaAwsAutoScalingLaunchConfigurationInstanceMonitoringDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceMonitoring(AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails).- Parameters:
instanceMonitoring- a consumer that will call methods onAwsAutoScalingLaunchConfigurationInstanceMonitoringDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceMonitoring(AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails)
-
instanceType
AwsAutoScalingLaunchConfigurationDetails.Builder instanceType(String instanceType)
The instance type for the instances.
- Parameters:
instanceType- The instance type for the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kernelId
AwsAutoScalingLaunchConfigurationDetails.Builder kernelId(String kernelId)
The identifier of the kernel associated with the AMI.
- Parameters:
kernelId- The identifier of the kernel associated with the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyName
AwsAutoScalingLaunchConfigurationDetails.Builder keyName(String keyName)
The name of the key pair.
- Parameters:
keyName- The name of the key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchConfigurationName
AwsAutoScalingLaunchConfigurationDetails.Builder launchConfigurationName(String launchConfigurationName)
The name of the launch configuration.
- Parameters:
launchConfigurationName- The name of the launch configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementTenancy
AwsAutoScalingLaunchConfigurationDetails.Builder placementTenancy(String placementTenancy)
The tenancy of the instance. An instance with
dedicatedtenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.- Parameters:
placementTenancy- The tenancy of the instance. An instance withdedicatedtenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ramdiskId
AwsAutoScalingLaunchConfigurationDetails.Builder ramdiskId(String ramdiskId)
The identifier of the RAM disk associated with the AMI.
- Parameters:
ramdiskId- The identifier of the RAM disk associated with the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsAutoScalingLaunchConfigurationDetails.Builder securityGroups(Collection<String> securityGroups)
The security groups to assign to the instances in the Auto Scaling group.
- Parameters:
securityGroups- The security groups to assign to the instances in the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsAutoScalingLaunchConfigurationDetails.Builder securityGroups(String... securityGroups)
The security groups to assign to the instances in the Auto Scaling group.
- Parameters:
securityGroups- The security groups to assign to the instances in the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotPrice
AwsAutoScalingLaunchConfigurationDetails.Builder spotPrice(String spotPrice)
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
- Parameters:
spotPrice- The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userData
AwsAutoScalingLaunchConfigurationDetails.Builder userData(String userData)
The user data to make available to the launched EC2 instances. Must be base64-encoded text.
- Parameters:
userData- The user data to make available to the launched EC2 instances. Must be base64-encoded text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataOptions
AwsAutoScalingLaunchConfigurationDetails.Builder metadataOptions(AwsAutoScalingLaunchConfigurationMetadataOptions metadataOptions)
The metadata options for the instances.
- Parameters:
metadataOptions- The metadata options for the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataOptions
default AwsAutoScalingLaunchConfigurationDetails.Builder metadataOptions(Consumer<AwsAutoScalingLaunchConfigurationMetadataOptions.Builder> metadataOptions)
The metadata options for the instances.
This is a convenience method that creates an instance of theAwsAutoScalingLaunchConfigurationMetadataOptions.Builderavoiding the need to create one manually viaAwsAutoScalingLaunchConfigurationMetadataOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataOptions(AwsAutoScalingLaunchConfigurationMetadataOptions).- Parameters:
metadataOptions- a consumer that will call methods onAwsAutoScalingLaunchConfigurationMetadataOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadataOptions(AwsAutoScalingLaunchConfigurationMetadataOptions)
-
-