Package org.jclouds.aws.ec2.domain
Class AWSRunningInstance.Builder
- java.lang.Object
-
- org.jclouds.ec2.domain.RunningInstance.Builder<AWSRunningInstance.Builder>
-
- org.jclouds.aws.ec2.domain.AWSRunningInstance.Builder
-
- Enclosing class:
- AWSRunningInstance
public static class AWSRunningInstance.Builder extends RunningInstance.Builder<AWSRunningInstance.Builder>
-
-
Field Summary
-
Fields inherited from class org.jclouds.ec2.domain.RunningInstance.Builder
amiLaunchIndex, availabilityZone, dnsName, ebsBlockDevices, groupNames, imageId, instanceId, instanceState, instanceType, ipAddress, kernelId, keyName, launchTime, platform, privateDnsName, privateIpAddress, ramdiskId, rawState, reason, region, rootDeviceName, rootDeviceType, tags, virtualizationType
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
Methods inherited from class org.jclouds.ec2.domain.RunningInstance.Builder
amiLaunchIndex, availabilityZone, device, devices, dnsName, groupName, groupNames, imageId, instanceId, instanceState, instanceType, ipAddress, kernelId, keyName, launchTime, platform, privateDnsName, privateIpAddress, ramdiskId, rawState, reason, region, rootDeviceName, rootDeviceType, tag, tags, virtualizationType
-
-
-
-
Method Detail
-
securityGroupIdToNames
public AWSRunningInstance.Builder securityGroupIdToNames(Map<String,String> securityGroupIdToNames)
-
securityGroupIdToName
public AWSRunningInstance.Builder securityGroupIdToName(String key, String value)
-
monitoringState
public AWSRunningInstance.Builder monitoringState(MonitoringState monitoringState)
-
placementGroup
public AWSRunningInstance.Builder placementGroup(String placementGroup)
-
productCodes
public AWSRunningInstance.Builder productCodes(Iterable<String> productCodes)
-
productCode
public AWSRunningInstance.Builder productCode(String productCode)
-
subnetId
public AWSRunningInstance.Builder subnetId(String subnetId)
-
spotInstanceRequestId
public AWSRunningInstance.Builder spotInstanceRequestId(String spotInstanceRequestId)
-
vpcId
public AWSRunningInstance.Builder vpcId(String vpcId)
-
hypervisor
public AWSRunningInstance.Builder hypervisor(Hypervisor hypervisor)
-
iamInstanceProfileArn
public AWSRunningInstance.Builder iamInstanceProfileArn(String iamInstanceProfileArn)
-
iamInstanceProfileId
public AWSRunningInstance.Builder iamInstanceProfileId(String iamInstanceProfileId)
-
build
public AWSRunningInstance build()
- Specified by:
build
in classRunningInstance.Builder<AWSRunningInstance.Builder>
-
fromRunningInstance
public AWSRunningInstance.Builder fromRunningInstance(RunningInstance in)
- Overrides:
fromRunningInstance
in classRunningInstance.Builder<AWSRunningInstance.Builder>
-
self
protected AWSRunningInstance.Builder self()
- Specified by:
self
in classRunningInstance.Builder<AWSRunningInstance.Builder>
-
-