Package | Description |
---|---|
com.amazonaws.services.ec2.model | |
com.amazonaws.services.ec2.model.transform |
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Instance> |
Reservation.instances
One or more instances.
|
Modifier and Type | Method and Description |
---|---|
Instance |
Instance.clone() |
Instance |
Instance.withAmiLaunchIndex(java.lang.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(java.lang.String architecture)
The architecture of the image.
|
Instance |
Instance.withBlockDeviceMappings(java.util.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.withClientToken(java.lang.String clientToken)
The idempotency token you provided when you launched the instance, if
applicable.
|
Instance |
Instance.withEbsOptimized(java.lang.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(java.lang.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(java.lang.String imageId)
The ID of the AMI used to launch the instance.
|
Instance |
Instance.withInstanceId(java.lang.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(java.lang.String instanceLifecycle)
Indicates whether this is a Spot instance or a Scheduled Instance.
|
Instance |
Instance.withInstanceType(InstanceType instanceType)
The instance type.
|
Instance |
Instance.withInstanceType(java.lang.String instanceType)
The instance type.
|
Instance |
Instance.withKernelId(java.lang.String kernelId)
The kernel associated with this instance, if applicable.
|
Instance |
Instance.withKeyName(java.lang.String keyName)
The name of the key pair, if this instance was launched with an
associated key pair.
|
Instance |
Instance.withLaunchTime(java.util.Date launchTime)
The time the instance was launched.
|
Instance |
Instance.withMonitoring(Monitoring monitoring)
The monitoring information for the instance.
|
Instance |
Instance.withNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)
[EC2-VPC] One or more network interfaces for the instance.
|
Instance |
Instance.withNetworkInterfaces(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(java.lang.String platform)
The value is
Windows for Windows instances; otherwise blank. |
Instance |
Instance.withPrivateDnsName(java.lang.String privateDnsName)
The private DNS name assigned to the instance.
|
Instance |
Instance.withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address assigned to the instance.
|
Instance |
Instance.withProductCodes(java.util.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(java.lang.String publicDnsName)
The public DNS name assigned to the instance.
|
Instance |
Instance.withPublicIpAddress(java.lang.String publicIpAddress)
The public IP address assigned to the instance, if applicable.
|
Instance |
Instance.withRamdiskId(java.lang.String ramdiskId)
The RAM disk associated with this instance, if applicable.
|
Instance |
Instance.withRootDeviceName(java.lang.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(java.lang.String rootDeviceType)
The root device type used by the AMI.
|
Instance |
Instance.withSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)
One or more security groups for the instance.
|
Instance |
Instance.withSecurityGroups(GroupIdentifier... securityGroups)
One or more security groups for the instance.
|
Instance |
Instance.withSourceDestCheck(java.lang.Boolean sourceDestCheck)
Specifies whether to enable an instance launched in a VPC to perform NAT.
|
Instance |
Instance.withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
If the request is a Spot instance request, the ID of the request.
|
Instance |
Instance.withSriovNetSupport(java.lang.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(java.lang.String stateTransitionReason)
The reason for the most recent state transition.
|
Instance |
Instance.withSubnetId(java.lang.String subnetId)
[EC2-VPC] The ID of the subnet in which the instance is running.
|
Instance |
Instance.withTags(java.util.Collection<Tag> tags)
Any tags assigned to the instance.
|
Instance |
Instance.withTags(Tag... tags)
Any tags assigned to the instance.
|
Instance |
Instance.withVirtualizationType(java.lang.String virtualizationType)
The virtualization type of the instance.
|
Instance |
Instance.withVirtualizationType(VirtualizationType virtualizationType)
The virtualization type of the instance.
|
Instance |
Instance.withVpcId(java.lang.String vpcId)
[EC2-VPC] The ID of the VPC in which the instance is running.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Instance> |
Reservation.getInstances()
One or more instances.
|
Modifier and Type | Method and Description |
---|---|
Reservation |
Reservation.withInstances(Instance... instances)
One or more instances.
|
Modifier and Type | Method and Description |
---|---|
void |
Reservation.setInstances(java.util.Collection<Instance> instances)
One or more instances.
|
Reservation |
Reservation.withInstances(java.util.Collection<Instance> instances)
One or more instances.
|
Modifier and Type | Method and Description |
---|---|
Instance |
InstanceStaxUnmarshaller.unmarshall(StaxUnmarshallerContext context) |