Uses of Interface
software.amazon.awssdk.services.ec2.model.RunInstancesRequest.Builder
Packages that use RunInstancesRequest.Builder
Package
Description
-
Uses of RunInstancesRequest.Builder in software.amazon.awssdk.services.ec2
Method parameters in software.amazon.awssdk.services.ec2 with type arguments of type RunInstancesRequest.BuilderModifier and TypeMethodDescriptiondefault CompletableFuture<RunInstancesResponse>Ec2AsyncClient.runInstances(Consumer<RunInstancesRequest.Builder> runInstancesRequest) Launches the specified number of instances using an AMI for which you have permissions.default RunInstancesResponseEc2Client.runInstances(Consumer<RunInstancesRequest.Builder> runInstancesRequest) Launches the specified number of instances using an AMI for which you have permissions. -
Uses of RunInstancesRequest.Builder in software.amazon.awssdk.services.ec2.model
Methods in software.amazon.awssdk.services.ec2.model that return RunInstancesRequest.BuilderModifier and TypeMethodDescriptionRunInstancesRequest.Builder.additionalInfo(String additionalInfo) Reserved.RunInstancesRequest.Builder.blockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings) The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch.RunInstancesRequest.Builder.blockDeviceMappings(Consumer<BlockDeviceMapping.Builder>... blockDeviceMappings) The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch.RunInstancesRequest.Builder.blockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch.static RunInstancesRequest.BuilderRunInstancesRequest.builder()default RunInstancesRequest.BuilderRunInstancesRequest.Builder.capacityReservationSpecification(Consumer<CapacityReservationSpecification.Builder> capacityReservationSpecification) Information about the Capacity Reservation targeting option.RunInstancesRequest.Builder.capacityReservationSpecification(CapacityReservationSpecification capacityReservationSpecification) Information about the Capacity Reservation targeting option.RunInstancesRequest.Builder.clientToken(String clientToken) Unique, case-sensitive identifier you provide to ensure the idempotency of the request.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.cpuOptions(Consumer<CpuOptionsRequest.Builder> cpuOptions) The CPU options for the instance.RunInstancesRequest.Builder.cpuOptions(CpuOptionsRequest cpuOptions) The CPU options for the instance.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.creditSpecification(Consumer<CreditSpecificationRequest.Builder> creditSpecification) The credit option for CPU usage of the burstable performance instance.RunInstancesRequest.Builder.creditSpecification(CreditSpecificationRequest creditSpecification) The credit option for CPU usage of the burstable performance instance.RunInstancesRequest.Builder.disableApiStop(Boolean disableApiStop) Indicates whether an instance is enabled for stop protection.RunInstancesRequest.Builder.disableApiTermination(Boolean disableApiTermination) Indicates whether termination protection is enabled for the instance.Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response.RunInstancesRequest.Builder.ebsOptimized(Boolean ebsOptimized) Indicates whether the instance is optimized for Amazon EBS I/O.RunInstancesRequest.Builder.elasticGpuSpecification(Collection<ElasticGpuSpecification> elasticGpuSpecification) Deprecated.Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.RunInstancesRequest.Builder.elasticGpuSpecification(Consumer<ElasticGpuSpecification.Builder>... elasticGpuSpecification) Deprecated.Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.RunInstancesRequest.Builder.elasticGpuSpecification(ElasticGpuSpecification... elasticGpuSpecification) Deprecated.Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.RunInstancesRequest.Builder.elasticInferenceAccelerators(Collection<ElasticInferenceAccelerator> elasticInferenceAccelerators) Deprecated.Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.RunInstancesRequest.Builder.elasticInferenceAccelerators(Consumer<ElasticInferenceAccelerator.Builder>... elasticInferenceAccelerators) Deprecated.Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.RunInstancesRequest.Builder.elasticInferenceAccelerators(ElasticInferenceAccelerator... elasticInferenceAccelerators) Deprecated.Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.RunInstancesRequest.Builder.enablePrimaryIpv6(Boolean enablePrimaryIpv6) If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable assigning a primary IPv6 address.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.enclaveOptions(Consumer<EnclaveOptionsRequest.Builder> enclaveOptions) Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.RunInstancesRequest.Builder.enclaveOptions(EnclaveOptionsRequest enclaveOptions) Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.hibernationOptions(Consumer<HibernationOptionsRequest.Builder> hibernationOptions) Indicates whether an instance is enabled for hibernation.RunInstancesRequest.Builder.hibernationOptions(HibernationOptionsRequest hibernationOptions) Indicates whether an instance is enabled for hibernation.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.iamInstanceProfile(Consumer<IamInstanceProfileSpecification.Builder> iamInstanceProfile) The name or Amazon Resource Name (ARN) of an IAM instance profile.RunInstancesRequest.Builder.iamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile) The name or Amazon Resource Name (ARN) of an IAM instance profile.The ID of the AMI.RunInstancesRequest.Builder.instanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).RunInstancesRequest.Builder.instanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).default RunInstancesRequest.BuilderRunInstancesRequest.Builder.instanceMarketOptions(Consumer<InstanceMarketOptionsRequest.Builder> instanceMarketOptions) The market (purchasing) option for the instances.RunInstancesRequest.Builder.instanceMarketOptions(InstanceMarketOptionsRequest instanceMarketOptions) The market (purchasing) option for the instances.RunInstancesRequest.Builder.instanceType(String instanceType) The instance type.RunInstancesRequest.Builder.instanceType(InstanceType instanceType) The instance type.RunInstancesRequest.Builder.ipv6AddressCount(Integer ipv6AddressCount) The number of IPv6 addresses to associate with the primary network interface.RunInstancesRequest.Builder.ipv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses) The IPv6 addresses from the range of the subnet to associate with the primary network interface.RunInstancesRequest.Builder.ipv6Addresses(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses) The IPv6 addresses from the range of the subnet to associate with the primary network interface.RunInstancesRequest.Builder.ipv6Addresses(InstanceIpv6Address... ipv6Addresses) The IPv6 addresses from the range of the subnet to associate with the primary network interface.The ID of the kernel.The name of the key pair.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate) The launch template.RunInstancesRequest.Builder.launchTemplate(LaunchTemplateSpecification launchTemplate) The launch template.RunInstancesRequest.Builder.licenseSpecifications(Collection<LicenseConfigurationRequest> licenseSpecifications) The license configurations.RunInstancesRequest.Builder.licenseSpecifications(Consumer<LicenseConfigurationRequest.Builder>... licenseSpecifications) The license configurations.RunInstancesRequest.Builder.licenseSpecifications(LicenseConfigurationRequest... licenseSpecifications) The license configurations.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.maintenanceOptions(Consumer<InstanceMaintenanceOptionsRequest.Builder> maintenanceOptions) The maintenance and recovery options for the instance.RunInstancesRequest.Builder.maintenanceOptions(InstanceMaintenanceOptionsRequest maintenanceOptions) The maintenance and recovery options for the instance.The maximum number of instances to launch.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.metadataOptions(Consumer<InstanceMetadataOptionsRequest.Builder> metadataOptions) The metadata options for the instance.RunInstancesRequest.Builder.metadataOptions(InstanceMetadataOptionsRequest metadataOptions) The metadata options for the instance.The minimum number of instances to launch.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.monitoring(Consumer<RunInstancesMonitoringEnabled.Builder> monitoring) Specifies whether detailed monitoring is enabled for the instance.RunInstancesRequest.Builder.monitoring(RunInstancesMonitoringEnabled monitoring) Specifies whether detailed monitoring is enabled for the instance.RunInstancesRequest.Builder.networkInterfaces(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces) The network interfaces to associate with the instance.RunInstancesRequest.Builder.networkInterfaces(Consumer<InstanceNetworkInterfaceSpecification.Builder>... networkInterfaces) The network interfaces to associate with the instance.RunInstancesRequest.Builder.networkInterfaces(InstanceNetworkInterfaceSpecification... networkInterfaces) The network interfaces to associate with the instance.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.networkPerformanceOptions(Consumer<InstanceNetworkPerformanceOptionsRequest.Builder> networkPerformanceOptions) Contains settings for the network performance options for the instance.RunInstancesRequest.Builder.networkPerformanceOptions(InstanceNetworkPerformanceOptionsRequest networkPerformanceOptions) Contains settings for the network performance options for the instance.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.operator(Consumer<OperatorRequest.Builder> operator) Reserved for internal use.RunInstancesRequest.Builder.operator(OperatorRequest operator) Reserved for internal use.RunInstancesRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) RunInstancesRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) default RunInstancesRequest.BuilderRunInstancesRequest.Builder.placement(Consumer<Placement.Builder> placement) The placement for the instance.The placement for the instance.default RunInstancesRequest.BuilderRunInstancesRequest.Builder.privateDnsNameOptions(Consumer<PrivateDnsNameOptionsRequest.Builder> privateDnsNameOptions) The options for the instance hostname.RunInstancesRequest.Builder.privateDnsNameOptions(PrivateDnsNameOptionsRequest privateDnsNameOptions) The options for the instance hostname.RunInstancesRequest.Builder.privateIpAddress(String privateIpAddress) The primary IPv4 address.The ID of the RAM disk to select.RunInstancesRequest.Builder.secondaryInterfaces(Collection<InstanceSecondaryInterfaceSpecificationRequest> secondaryInterfaces) The secondary interfaces to associate with the instance.RunInstancesRequest.Builder.secondaryInterfaces(Consumer<InstanceSecondaryInterfaceSpecificationRequest.Builder>... secondaryInterfaces) The secondary interfaces to associate with the instance.RunInstancesRequest.Builder.secondaryInterfaces(InstanceSecondaryInterfaceSpecificationRequest... secondaryInterfaces) The secondary interfaces to associate with the instance.RunInstancesRequest.Builder.securityGroupIds(String... securityGroupIds) The IDs of the security groups.RunInstancesRequest.Builder.securityGroupIds(Collection<String> securityGroupIds) The IDs of the security groups.RunInstancesRequest.Builder.securityGroups(String... securityGroups) [Default VPC] The names of the security groups.RunInstancesRequest.Builder.securityGroups(Collection<String> securityGroups) [Default VPC] The names of the security groups.The ID of the subnet to launch the instance into.RunInstancesRequest.Builder.tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the resources that are created during instance launch.RunInstancesRequest.Builder.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the resources that are created during instance launch.RunInstancesRequest.Builder.tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to the resources that are created during instance launch.RunInstancesRequest.toBuilder()The user data to make available to the instance.Methods in software.amazon.awssdk.services.ec2.model that return types with arguments of type RunInstancesRequest.BuilderModifier and TypeMethodDescriptionstatic Class<? extends RunInstancesRequest.Builder>RunInstancesRequest.serializableBuilderClass()