Package | Description |
---|---|
com.amazonaws.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
Instance |
Instance.clone() |
Instance |
Instance.withAmiLaunchIndex(Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance in the launch group.
|
Instance |
Instance.withArchitecture(ArchitectureValues architecture)
The architecture of the image.
|
Instance |
Instance.withArchitecture(String architecture)
The architecture of the image.
|
Instance |
Instance.withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries for the instance.
|
Instance |
Instance.withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
Any block device mapping entries for the instance.
|
Instance |
Instance.withBootMode(BootModeValues bootMode)
The boot mode that was specified by the AMI.
|
Instance |
Instance.withBootMode(String bootMode)
The boot mode that was specified by the AMI.
|
Instance |
Instance.withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
Instance |
Instance.withCapacityReservationSpecification(CapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
|
Instance |
Instance.withClientToken(String clientToken)
The idempotency token you provided when you launched the instance, if applicable.
|
Instance |
Instance.withCpuOptions(CpuOptions cpuOptions)
The CPU options for the instance.
|
Instance |
Instance.withCurrentInstanceBootMode(InstanceBootModeValues currentInstanceBootMode)
The boot mode that is used to boot the instance at launch or start.
|
Instance |
Instance.withCurrentInstanceBootMode(String currentInstanceBootMode)
The boot mode that is used to boot the instance at launch or start.
|
Instance |
Instance.withEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
Instance |
Instance.withElasticGpuAssociations(Collection<ElasticGpuAssociation> elasticGpuAssociations)
The Elastic GPU associated with the instance.
|
Instance |
Instance.withElasticGpuAssociations(ElasticGpuAssociation... elasticGpuAssociations)
The Elastic GPU associated with the instance.
|
Instance |
Instance.withElasticInferenceAcceleratorAssociations(Collection<ElasticInferenceAcceleratorAssociation> elasticInferenceAcceleratorAssociations)
The elastic inference accelerator associated with the instance.
|
Instance |
Instance.withElasticInferenceAcceleratorAssociations(ElasticInferenceAcceleratorAssociation... elasticInferenceAcceleratorAssociations)
The elastic inference accelerator associated with the instance.
|
Instance |
Instance.withEnaSupport(Boolean enaSupport)
Specifies whether enhanced networking with ENA is enabled.
|
Instance |
Instance.withEnclaveOptions(EnclaveOptions enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
|
Instance |
Instance.withHibernationOptions(HibernationOptions hibernationOptions)
Indicates whether the instance is enabled for hibernation.
|
Instance |
Instance.withHypervisor(HypervisorType hypervisor)
The hypervisor type of the instance.
|
Instance |
Instance.withHypervisor(String hypervisor)
The hypervisor type of the instance.
|
Instance |
Instance.withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile associated with the instance, if applicable.
|
Instance |
Instance.withImageId(String imageId)
The ID of the AMI used to launch the instance.
|
Instance |
Instance.withInstanceId(String instanceId)
The ID of the instance.
|
Instance |
Instance.withInstanceLifecycle(InstanceLifecycleType instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
|
Instance |
Instance.withInstanceLifecycle(String instanceLifecycle)
Indicates whether this is a Spot Instance or a Scheduled Instance.
|
Instance |
Instance.withInstanceType(InstanceType instanceType)
The instance type.
|
Instance |
Instance.withInstanceType(String instanceType)
The instance type.
|
Instance |
Instance.withIpv6Address(String ipv6Address)
The IPv6 address assigned to the instance.
|
Instance |
Instance.withKernelId(String kernelId)
The kernel associated with this instance, if applicable.
|
Instance |
Instance.withKeyName(String keyName)
The name of the key pair, if this instance was launched with an associated key pair.
|
Instance |
Instance.withLaunchTime(Date launchTime)
The time the instance was launched.
|
Instance |
Instance.withLicenses(Collection<LicenseConfiguration> licenses)
The license configurations for the instance.
|
Instance |
Instance.withLicenses(LicenseConfiguration... licenses)
The license configurations for the instance.
|
Instance |
Instance.withMaintenanceOptions(InstanceMaintenanceOptions maintenanceOptions)
Provides information on the recovery and maintenance options of your instance.
|
Instance |
Instance.withMetadataOptions(InstanceMetadataOptionsResponse metadataOptions)
The metadata options for the instance.
|
Instance |
Instance.withMonitoring(Monitoring monitoring)
The monitoring for the instance.
|
Instance |
Instance.withNetworkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces)
The network interfaces for the instance.
|
Instance |
Instance.withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces)
The network interfaces for the instance.
|
Instance |
Instance.withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
Instance |
Instance.withPlacement(Placement placement)
The location where the instance launched, if applicable.
|
Instance |
Instance.withPlatform(PlatformValues platform)
The value is
Windows for Windows instances; otherwise blank. |
Instance |
Instance.withPlatform(String platform)
The value is
Windows for Windows instances; otherwise blank. |
Instance |
Instance.withPlatformDetails(String platformDetails)
The platform details value for the instance.
|
Instance |
Instance.withPrivateDnsName(String privateDnsName)
[IPv4 only] The private DNS hostname name assigned to the instance.
|
Instance |
Instance.withPrivateDnsNameOptions(PrivateDnsNameOptionsResponse privateDnsNameOptions)
The options for the instance hostname.
|
Instance |
Instance.withPrivateIpAddress(String privateIpAddress)
The private IPv4 address assigned to the instance.
|
Instance |
Instance.withProductCodes(Collection<ProductCode> productCodes)
The product codes attached to this instance, if applicable.
|
Instance |
Instance.withProductCodes(ProductCode... productCodes)
The product codes attached to this instance, if applicable.
|
Instance |
Instance.withPublicDnsName(String publicDnsName)
[IPv4 only] The public DNS name assigned to the instance.
|
Instance |
Instance.withPublicIpAddress(String publicIpAddress)
The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.
|
Instance |
Instance.withRamdiskId(String ramdiskId)
The RAM disk associated with this instance, if applicable.
|
Instance |
Instance.withRootDeviceName(String rootDeviceName)
The device name of the root device volume (for example,
/dev/sda1 ). |
Instance |
Instance.withRootDeviceType(DeviceType rootDeviceType)
The root device type used by the AMI.
|
Instance |
Instance.withRootDeviceType(String rootDeviceType)
The root device type used by the AMI.
|
Instance |
Instance.withSecurityGroups(Collection<GroupIdentifier> securityGroups)
The security groups for the instance.
|
Instance |
Instance.withSecurityGroups(GroupIdentifier... securityGroups)
The security groups for the instance.
|
Instance |
Instance.withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
Instance |
Instance.withSpotInstanceRequestId(String spotInstanceRequestId)
If the request is a Spot Instance request, the ID of the request.
|
Instance |
Instance.withSriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
Instance |
Instance.withState(InstanceState state)
The current state of the instance.
|
Instance |
Instance.withStateReason(StateReason stateReason)
The reason for the most recent state transition.
|
Instance |
Instance.withStateTransitionReason(String stateTransitionReason)
The reason for the most recent state transition.
|
Instance |
Instance.withSubnetId(String subnetId)
The ID of the subnet in which the instance is running.
|
Instance |
Instance.withTags(Collection<Tag> tags)
Any tags assigned to the instance.
|
Instance |
Instance.withTags(Tag... tags)
Any tags assigned to the instance.
|
Instance |
Instance.withTpmSupport(String tpmSupport)
If the instance is configured for NitroTPM support, the value is
v2.0 . |
Instance |
Instance.withUsageOperation(String usageOperation)
The usage operation value for the instance.
|
Instance |
Instance.withUsageOperationUpdateTime(Date usageOperationUpdateTime)
The time that the usage operation was last updated.
|
Instance |
Instance.withVirtualizationType(String virtualizationType)
The virtualization type of the instance.
|
Instance |
Instance.withVirtualizationType(VirtualizationType virtualizationType)
The virtualization type of the instance.
|
Instance |
Instance.withVpcId(String vpcId)
The ID of the VPC in which the instance is running.
|
Modifier and Type | Method and Description |
---|---|
List<Instance> |
Reservation.getInstances()
The instances.
|
Modifier and Type | Method and Description |
---|---|
Reservation |
Reservation.withInstances(Instance... instances)
The instances.
|
Modifier and Type | Method and Description |
---|---|
void |
Reservation.setInstances(Collection<Instance> instances)
The instances.
|
Reservation |
Reservation.withInstances(Collection<Instance> instances)
The instances.
|
Copyright © 2023. All rights reserved.