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(InstanceBlockDeviceMapping... blockDeviceMappings) |
Any block device mapping entries for the instance.
|
Instance |
Instance.withBlockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings) |
Any block device mapping entries for the instance.
|
Instance |
Instance.withClientToken(String clientToken) |
The idempotency token you provided when you launched the instance, if
applicable.
|
Instance |
Instance.withEbsOptimized(Boolean ebsOptimized) |
Indicates whether the instance is optimized for EBS I/O.
|
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.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.withMonitoring(Monitoring monitoring) |
The monitoring information for the instance.
|
Instance |
Instance.withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces) |
[EC2-VPC] One or more network interfaces for the instance.
|
Instance |
Instance.withNetworkInterfaces(Collection<InstanceNetworkInterface> networkInterfaces) |
[EC2-VPC] One or more network interfaces for the instance.
|
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.withPrivateDnsName(String privateDnsName) |
The private DNS name assigned to the instance.
|
Instance |
Instance.withPrivateIpAddress(String privateIpAddress) |
The private IP address assigned to the instance.
|
Instance |
Instance.withProductCodes(ProductCode... productCodes) |
The product codes attached to this instance, if applicable.
|
Instance |
Instance.withProductCodes(Collection<ProductCode> productCodes) |
The product codes attached to this instance, if applicable.
|
Instance |
Instance.withPublicDnsName(String publicDnsName) |
The public DNS name assigned to the instance.
|
Instance |
Instance.withPublicIpAddress(String publicIpAddress) |
The public 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 root device name (for example, /dev/sda1 or
/dev/xvda ).
|
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(GroupIdentifier... securityGroups) |
One or more security groups for the instance.
|
Instance |
Instance.withSecurityGroups(Collection<GroupIdentifier> securityGroups) |
One or more security groups for the instance.
|
Instance |
Instance.withSourceDestCheck(Boolean sourceDestCheck) |
Specifies whether to enable an instance launched in a VPC to perform NAT.
|
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 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) |
[EC2-VPC] The ID of the subnet in which the instance is running.
|
Instance |
Instance.withTags(Tag... tags) |
Any tags assigned to the instance.
|
Instance |
Instance.withTags(Collection<Tag> tags) |
Any tags assigned to the instance.
|
Instance |
Instance.withVirtualizationType(VirtualizationType virtualizationType) |
The virtualization type of the instance.
|
Instance |
Instance.withVirtualizationType(String virtualizationType) |
The virtualization type of the instance.
|
Instance |
Instance.withVpcId(String vpcId) |
[EC2-VPC] The ID of the VPC in which the instance is running.
|