Package | Description |
---|---|
software.amazon.awssdk.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
Instance.Builder |
Instance.Builder.amiLaunchIndex(Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance in the launch group.
|
Instance.Builder |
Instance.Builder.architecture(ArchitectureValues architecture)
The architecture of the image.
|
Instance.Builder |
Instance.Builder.architecture(String architecture)
The architecture of the image.
|
Instance.Builder |
Instance.Builder.blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries for the instance.
|
Instance.Builder |
Instance.Builder.blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
Any block device mapping entries for the instance.
|
Instance.Builder |
Instance.Builder.blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
Any block device mapping entries for the instance.
|
Instance.Builder |
Instance.Builder.bootMode(BootModeValues bootMode)
The boot mode of the instance.
|
Instance.Builder |
Instance.Builder.bootMode(String bootMode)
The boot mode of the instance.
|
static Instance.Builder |
Instance.builder() |
Instance.Builder |
Instance.Builder.capacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
Instance.Builder |
Instance.Builder.capacityReservationSpecification(CapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
|
default Instance.Builder |
Instance.Builder.capacityReservationSpecification(Consumer<CapacityReservationSpecificationResponse.Builder> capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
|
Instance.Builder |
Instance.Builder.clientToken(String clientToken)
The idempotency token you provided when you launched the instance, if applicable.
|
default Instance.Builder |
Instance.Builder.cpuOptions(Consumer<CpuOptions.Builder> cpuOptions)
The CPU options for the instance.
|
Instance.Builder |
Instance.Builder.cpuOptions(CpuOptions cpuOptions)
The CPU options for the instance.
|
Instance.Builder |
Instance.Builder.ebsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
Instance.Builder |
Instance.Builder.elasticGpuAssociations(Collection<ElasticGpuAssociation> elasticGpuAssociations)
The Elastic GPU associated with the instance.
|
Instance.Builder |
Instance.Builder.elasticGpuAssociations(Consumer<ElasticGpuAssociation.Builder>... elasticGpuAssociations)
The Elastic GPU associated with the instance.
|
Instance.Builder |
Instance.Builder.elasticGpuAssociations(ElasticGpuAssociation... elasticGpuAssociations)
The Elastic GPU associated with the instance.
|
Instance.Builder |
Instance.Builder.elasticInferenceAcceleratorAssociations(Collection<ElasticInferenceAcceleratorAssociation> elasticInferenceAcceleratorAssociations)
The elastic inference accelerator associated with the instance.
|
Instance.Builder |
Instance.Builder.elasticInferenceAcceleratorAssociations(Consumer<ElasticInferenceAcceleratorAssociation.Builder>... elasticInferenceAcceleratorAssociations)
The elastic inference accelerator associated with the instance.
|
Instance.Builder |
Instance.Builder.elasticInferenceAcceleratorAssociations(ElasticInferenceAcceleratorAssociation... elasticInferenceAcceleratorAssociations)
The elastic inference accelerator associated with the instance.
|
Instance.Builder |
Instance.Builder.enaSupport(Boolean enaSupport)
Specifies whether enhanced networking with ENA is enabled.
|
default Instance.Builder |
Instance.Builder.enclaveOptions(Consumer<EnclaveOptions.Builder> enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
|
Instance.Builder |
Instance.Builder.enclaveOptions(EnclaveOptions enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
|
default Instance.Builder |
Instance.Builder.hibernationOptions(Consumer<HibernationOptions.Builder> hibernationOptions)
Indicates whether the instance is enabled for hibernation.
|
Instance.Builder |
Instance.Builder.hibernationOptions(HibernationOptions hibernationOptions)
Indicates whether the instance is enabled for hibernation.
|
Instance.Builder |
Instance.Builder.hypervisor(HypervisorType hypervisor)
The hypervisor type of the instance.
|
Instance.Builder |
Instance.Builder.hypervisor(String hypervisor)
The hypervisor type of the instance.
|
default Instance.Builder |
Instance.Builder.iamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)
The IAM instance profile associated with the instance, if applicable.
|
Instance.Builder |
Instance.Builder.iamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile associated with the instance, if applicable.
|
Instance.Builder |
Instance.Builder.imageId(String imageId)
The ID of the AMI used to launch the instance.
|
Instance.Builder |
Instance.Builder.instanceId(String instanceId)
The ID of the instance.
|
Instance.Builder |
Instance.Builder.instanceLifecycle(InstanceLifecycleType instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
|
Instance.Builder |
Instance.Builder.instanceLifecycle(String instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
|
Instance.Builder |
Instance.Builder.instanceType(InstanceType instanceType)
The instance type.
|
Instance.Builder |
Instance.Builder.instanceType(String instanceType)
The instance type.
|
Instance.Builder |
Instance.Builder.ipv6Address(String ipv6Address)
The IPv6 address assigned to the instance.
|
Instance.Builder |
Instance.Builder.kernelId(String kernelId)
The kernel associated with this instance, if applicable.
|
Instance.Builder |
Instance.Builder.keyName(String keyName)
The name of the key pair, if this instance was launched with an associated key pair.
|
Instance.Builder |
Instance.Builder.launchTime(Instant launchTime)
The time the instance was launched.
|
Instance.Builder |
Instance.Builder.licenses(Collection<LicenseConfiguration> licenses)
The license configurations for the instance.
|
Instance.Builder |
Instance.Builder.licenses(Consumer<LicenseConfiguration.Builder>... licenses)
The license configurations for the instance.
|
Instance.Builder |
Instance.Builder.licenses(LicenseConfiguration... licenses)
The license configurations for the instance.
|
default Instance.Builder |
Instance.Builder.maintenanceOptions(Consumer<InstanceMaintenanceOptions.Builder> maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.
|
Instance.Builder |
Instance.Builder.maintenanceOptions(InstanceMaintenanceOptions maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.
|
default Instance.Builder |
Instance.Builder.metadataOptions(Consumer<InstanceMetadataOptionsResponse.Builder> metadataOptions)
The metadata options for the instance.
|
Instance.Builder |
Instance.Builder.metadataOptions(InstanceMetadataOptionsResponse metadataOptions)
The metadata options for the instance.
|
default Instance.Builder |
Instance.Builder.monitoring(Consumer<Monitoring.Builder> monitoring)
The monitoring for the instance.
|
Instance.Builder |
Instance.Builder.monitoring(Monitoring monitoring)
The monitoring for the instance.
|
Instance.Builder |
Instance.Builder.networkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
[EC2-VPC] The network interfaces for the instance.
|
Instance.Builder |
Instance.Builder.networkInterfaces(Consumer<InstanceNetworkInterface.Builder>... networkInterfaces)
[EC2-VPC] The network interfaces for the instance.
|
Instance.Builder |
Instance.Builder.networkInterfaces(InstanceNetworkInterface... networkInterfaces)
[EC2-VPC] The network interfaces for the instance.
|
Instance.Builder |
Instance.Builder.outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
default Instance.Builder |
Instance.Builder.placement(Consumer<Placement.Builder> placement)
The location where the instance launched, if applicable.
|
Instance.Builder |
Instance.Builder.placement(Placement placement)
The location where the instance launched, if applicable.
|
Instance.Builder |
Instance.Builder.platform(PlatformValues platform)
The value is
Windows for Windows instances; otherwise blank. |
Instance.Builder |
Instance.Builder.platform(String platform)
The value is
Windows for Windows instances; otherwise blank. |
Instance.Builder |
Instance.Builder.platformDetails(String platformDetails)
The platform details value for the instance.
|
Instance.Builder |
Instance.Builder.privateDnsName(String privateDnsName)
(IPv4 only) The private DNS hostname name assigned to the instance.
|
default Instance.Builder |
Instance.Builder.privateDnsNameOptions(Consumer<PrivateDnsNameOptionsResponse.Builder> privateDnsNameOptions)
The options for the instance hostname.
|
Instance.Builder |
Instance.Builder.privateDnsNameOptions(PrivateDnsNameOptionsResponse privateDnsNameOptions)
The options for the instance hostname.
|
Instance.Builder |
Instance.Builder.privateIpAddress(String privateIpAddress)
The private IPv4 address assigned to the instance.
|
Instance.Builder |
Instance.Builder.productCodes(Collection<ProductCode> productCodes)
The product codes attached to this instance, if applicable.
|
Instance.Builder |
Instance.Builder.productCodes(Consumer<ProductCode.Builder>... productCodes)
The product codes attached to this instance, if applicable.
|
Instance.Builder |
Instance.Builder.productCodes(ProductCode... productCodes)
The product codes attached to this instance, if applicable.
|
Instance.Builder |
Instance.Builder.publicDnsName(String publicDnsName)
(IPv4 only) The public DNS name assigned to the instance.
|
Instance.Builder |
Instance.Builder.publicIpAddress(String publicIpAddress)
The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.
|
Instance.Builder |
Instance.Builder.ramdiskId(String ramdiskId)
The RAM disk associated with this instance, if applicable.
|
Instance.Builder |
Instance.Builder.rootDeviceName(String rootDeviceName)
The device name of the root device volume (for example,
/dev/sda1 ). |
Instance.Builder |
Instance.Builder.rootDeviceType(DeviceType rootDeviceType)
The root device type used by the AMI.
|
Instance.Builder |
Instance.Builder.rootDeviceType(String rootDeviceType)
The root device type used by the AMI.
|
Instance.Builder |
Instance.Builder.securityGroups(Collection<GroupIdentifier> securityGroups)
The security groups for the instance.
|
Instance.Builder |
Instance.Builder.securityGroups(Consumer<GroupIdentifier.Builder>... securityGroups)
The security groups for the instance.
|
Instance.Builder |
Instance.Builder.securityGroups(GroupIdentifier... securityGroups)
The security groups for the instance.
|
Instance.Builder |
Instance.Builder.sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
Instance.Builder |
Instance.Builder.spotInstanceRequestId(String spotInstanceRequestId)
If the request is a Spot Instance request, the ID of the request.
|
Instance.Builder |
Instance.Builder.sriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
default Instance.Builder |
Instance.Builder.state(Consumer<InstanceState.Builder> state)
The current state of the instance.
|
Instance.Builder |
Instance.Builder.state(InstanceState state)
The current state of the instance.
|
default Instance.Builder |
Instance.Builder.stateReason(Consumer<StateReason.Builder> stateReason)
The reason for the most recent state transition.
|
Instance.Builder |
Instance.Builder.stateReason(StateReason stateReason)
The reason for the most recent state transition.
|
Instance.Builder |
Instance.Builder.stateTransitionReason(String stateTransitionReason)
The reason for the most recent state transition.
|
Instance.Builder |
Instance.Builder.subnetId(String subnetId)
[EC2-VPC] The ID of the subnet in which the instance is running.
|
Instance.Builder |
Instance.Builder.tags(Collection<Tag> tags)
Any tags assigned to the instance.
|
Instance.Builder |
Instance.Builder.tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the instance.
|
Instance.Builder |
Instance.Builder.tags(Tag... tags)
Any tags assigned to the instance.
|
Instance.Builder |
Instance.toBuilder() |
Instance.Builder |
Instance.Builder.tpmSupport(String tpmSupport)
If the instance is configured for NitroTPM support, the value is
v2.0 . |
Instance.Builder |
Instance.Builder.usageOperation(String usageOperation)
The usage operation value for the instance.
|
Instance.Builder |
Instance.Builder.usageOperationUpdateTime(Instant usageOperationUpdateTime)
The time that the usage operation was last updated.
|
Instance.Builder |
Instance.Builder.virtualizationType(String virtualizationType)
The virtualization type of the instance.
|
Instance.Builder |
Instance.Builder.virtualizationType(VirtualizationType virtualizationType)
The virtualization type of the instance.
|
Instance.Builder |
Instance.Builder.vpcId(String vpcId)
[EC2-VPC] The ID of the VPC in which the instance is running.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends Instance.Builder> |
Instance.serializableBuilderClass() |
Copyright © 2023. All rights reserved.