Package | Description |
---|---|
com.amazonaws.services.ec2.model |
Classes modeling the various types represented by AmazonEC2.
|
Modifier and Type | Method and Description |
---|---|
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.withClientToken(String clientToken)
The idempotency token you provided when you launched the instance.
|
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.
|
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.
|
Instance |
Instance.withInstanceLifecycle(String instanceLifecycle)
Indicates whether this is a Spot 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.
|
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(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.
|
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(Collection<ProductCode> productCodes)
The product codes attached to this instance.
|
Instance |
Instance.withProductCodes(ProductCode... productCodes)
The product codes attached to this instance.
|
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.
|
Instance |
Instance.withRamdiskId(String ramdiskId)
The RAM disk associated with this instance.
|
Instance |
Instance.withRootDeviceName(String rootDeviceName)
The root device name (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)
One or more security groups for the instance.
|
Instance |
Instance.withSecurityGroups(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)
The ID of the Spot Instance 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)
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.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()
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(Collection<Instance> instances)
One or more instances.
|
Reservation |
Reservation.withInstances(Collection<Instance> instances)
One or more instances.
|
Copyright © 2014. All rights reserved.