Uses of Class
com.amazonaws.services.ec2.model.Instance
Packages that use Instance
-
Uses of Instance in com.amazonaws.services.ec2.model
Methods in com.amazonaws.services.ec2.model that return InstanceModifier and TypeMethodDescriptionInstance.clone()
Instance.withAmiLaunchIndex
(Integer amiLaunchIndex) The AMI launch index, which can be used to find this instance in the launch group.Instance.withArchitecture
(ArchitectureValues architecture) The architecture of the image.Instance.withArchitecture
(String architecture) The architecture of the image.Instance.withBlockDeviceMappings
(InstanceBlockDeviceMapping... blockDeviceMappings) Any block device mapping entries for the instance.Instance.withBlockDeviceMappings
(Collection<InstanceBlockDeviceMapping> blockDeviceMappings) Any block device mapping entries for the instance.Instance.withClientToken
(String clientToken) The idempotency token you provided when you launched the instance, if applicable.Instance.withEbsOptimized
(Boolean ebsOptimized) Indicates whether the instance is optimized for EBS I/O.Instance.withHypervisor
(HypervisorType hypervisor) The hypervisor type of the instance.Instance.withHypervisor
(String hypervisor) The hypervisor type of the instance.Instance.withIamInstanceProfile
(IamInstanceProfile iamInstanceProfile) The IAM instance profile associated with the instance, if applicable.Instance.withImageId
(String imageId) The ID of the AMI used to launch the instance.Instance.withInstanceId
(String instanceId) The ID of the instance.Instance.withInstanceLifecycle
(InstanceLifecycleType instanceLifecycle) Indicates whether this is a Spot instance or a Scheduled Instance.Instance.withInstanceLifecycle
(String instanceLifecycle) Indicates whether this is a Spot instance or a Scheduled Instance.Instance.withInstanceType
(InstanceType instanceType) The instance type.Instance.withInstanceType
(String instanceType) The instance type.Instance.withKernelId
(String kernelId) The kernel associated with this instance, if applicable.Instance.withKeyName
(String keyName) The name of the key pair, if this instance was launched with an associated key pair.Instance.withLaunchTime
(Date launchTime) The time the instance was launched.Instance.withMonitoring
(Monitoring monitoring) The monitoring information for the instance.Instance.withNetworkInterfaces
(InstanceNetworkInterface... networkInterfaces) [EC2-VPC] One or more network interfaces for the instance.Instance.withNetworkInterfaces
(Collection<InstanceNetworkInterface> networkInterfaces) [EC2-VPC] One or more network interfaces for the instance.Instance.withPlacement
(Placement placement) The location where the instance launched, if applicable.Instance.withPlatform
(PlatformValues platform) The value isWindows
for Windows instances; otherwise blank.Instance.withPlatform
(String platform) The value isWindows
for Windows instances; otherwise blank.Instance.withPrivateDnsName
(String privateDnsName) The private DNS name assigned to the instance.Instance.withPrivateIpAddress
(String privateIpAddress) The private IP address assigned to the instance.Instance.withProductCodes
(ProductCode... productCodes) The product codes attached to this instance, if applicable.Instance.withProductCodes
(Collection<ProductCode> productCodes) The product codes attached to this instance, if applicable.Instance.withPublicDnsName
(String publicDnsName) The public DNS name assigned to the instance.Instance.withPublicIpAddress
(String publicIpAddress) The public IP address assigned to the instance, if applicable.Instance.withRamdiskId
(String ramdiskId) The RAM disk associated with this instance, if applicable.Instance.withRootDeviceName
(String rootDeviceName) The root device name (for example,/dev/sda1
or/dev/xvda
).Instance.withRootDeviceType
(DeviceType rootDeviceType) The root device type used by the AMI.Instance.withRootDeviceType
(String rootDeviceType) The root device type used by the AMI.Instance.withSecurityGroups
(GroupIdentifier... securityGroups) One or more security groups for the instance.Instance.withSecurityGroups
(Collection<GroupIdentifier> securityGroups) One or more security groups for the instance.Instance.withSourceDestCheck
(Boolean sourceDestCheck) Specifies whether to enable an instance launched in a VPC to perform NAT.Instance.withSpotInstanceRequestId
(String spotInstanceRequestId) If the request is a Spot instance request, the ID of the request.Instance.withSriovNetSupport
(String sriovNetSupport) Specifies whether enhanced networking is enabled.Instance.withState
(InstanceState state) The current state of the instance.Instance.withStateReason
(StateReason stateReason) The reason for the most recent state transition.Instance.withStateTransitionReason
(String stateTransitionReason) The reason for the most recent state transition.Instance.withSubnetId
(String subnetId) [EC2-VPC] The ID of the subnet in which the instance is running.Any tags assigned to the instance.Instance.withTags
(Collection<Tag> tags) Any tags assigned to the instance.Instance.withVirtualizationType
(VirtualizationType virtualizationType) The virtualization type of the instance.Instance.withVirtualizationType
(String virtualizationType) The virtualization type of the instance.[EC2-VPC] The ID of the VPC in which the instance is running.Methods in com.amazonaws.services.ec2.model that return types with arguments of type InstanceMethods in com.amazonaws.services.ec2.model with parameters of type InstanceModifier and TypeMethodDescriptionReservation.withInstances
(Instance... instances) One or more instances.Method parameters in com.amazonaws.services.ec2.model with type arguments of type InstanceModifier and TypeMethodDescriptionvoid
Reservation.setInstances
(Collection<Instance> instances) One or more instances.Reservation.withInstances
(Collection<Instance> instances) One or more instances.