org.jclouds.aws.ec2.domain
Class AWSRunningInstance.Builder

java.lang.Object
  extended by org.jclouds.ec2.domain.RunningInstance.Builder
      extended by org.jclouds.aws.ec2.domain.AWSRunningInstance.Builder
Enclosing class:
AWSRunningInstance

public static class AWSRunningInstance.Builder
extends RunningInstance.Builder


Field Summary
 
Fields inherited from class org.jclouds.ec2.domain.RunningInstance.Builder
amiLaunchIndex, availabilityZone, dnsName, ebsBlockDevices, groupIds, imageId, instanceId, instanceState, instanceType, ipAddress, kernelId, keyName, launchTime, platform, privateDnsName, privateIpAddress, ramdiskId, reason, region, rootDeviceName, rootDeviceType, virtualizationType
 
Constructor Summary
AWSRunningInstance.Builder()
           
 
Method Summary
 AWSRunningInstance.Builder amiLaunchIndex(String amiLaunchIndex)
           
 AWSRunningInstance.Builder availabilityZone(String availabilityZone)
           
 AWSRunningInstance build()
           
 AWSRunningInstance.Builder device(String key, BlockDevice value)
           
 AWSRunningInstance.Builder devices(Map<String,BlockDevice> ebsBlockDevices)
           
 AWSRunningInstance.Builder dnsName(String dnsName)
           
 AWSRunningInstance.Builder groupId(String groupId)
           
 AWSRunningInstance.Builder groupIds(Iterable<String> groupIds)
           
 AWSRunningInstance.Builder imageId(String imageId)
           
 AWSRunningInstance.Builder instanceId(String instanceId)
           
 AWSRunningInstance.Builder instanceState(InstanceState instanceState)
           
 AWSRunningInstance.Builder instanceType(String instanceType)
           
 AWSRunningInstance.Builder ipAddress(String ipAddress)
           
 AWSRunningInstance.Builder kernelId(String kernelId)
           
 AWSRunningInstance.Builder keyName(String keyName)
           
 AWSRunningInstance.Builder launchTime(Date launchTime)
           
 AWSRunningInstance.Builder monitoringState(MonitoringState monitoringState)
           
 AWSRunningInstance.Builder placementGroup(String placementGroup)
           
 AWSRunningInstance.Builder platform(String platform)
           
 AWSRunningInstance.Builder privateDnsName(String privateDnsName)
           
 AWSRunningInstance.Builder privateIpAddress(String privateIpAddress)
           
 AWSRunningInstance.Builder productCode(String productCode)
           
 AWSRunningInstance.Builder productCodes(Iterable<String> productCodes)
           
 AWSRunningInstance.Builder ramdiskId(String ramdiskId)
           
 AWSRunningInstance.Builder reason(String reason)
           
 AWSRunningInstance.Builder region(String region)
           
 AWSRunningInstance.Builder rootDeviceName(String rootDeviceName)
           
 AWSRunningInstance.Builder rootDeviceType(RootDeviceType rootDeviceType)
           
 AWSRunningInstance.Builder securityGroupIdToName(String key, String value)
           
 AWSRunningInstance.Builder securityGroupIdToNames(Map<String,String> securityGroupIdToNames)
           
 AWSRunningInstance.Builder spotInstanceRequestId(String spotInstanceRequestId)
           
 AWSRunningInstance.Builder subnetId(String subnetId)
           
 AWSRunningInstance.Builder tag(String key, String value)
           
 AWSRunningInstance.Builder tags(Map<String,String> tags)
           
 AWSRunningInstance.Builder virtualizationType(String virtualizationType)
           
 AWSRunningInstance.Builder vpcId(String vpcId)
           
 
Methods inherited from class org.jclouds.ec2.domain.RunningInstance.Builder
getDnsName, getIpAddress, getPrivateDnsName, getPrivateIpAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWSRunningInstance.Builder

public AWSRunningInstance.Builder()
Method Detail

tags

public AWSRunningInstance.Builder tags(Map<String,String> tags)

tag

public AWSRunningInstance.Builder tag(String key,
                                      String value)

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)

amiLaunchIndex

public AWSRunningInstance.Builder amiLaunchIndex(String amiLaunchIndex)
Overrides:
amiLaunchIndex in class RunningInstance.Builder

availabilityZone

public AWSRunningInstance.Builder availabilityZone(String availabilityZone)
Overrides:
availabilityZone in class RunningInstance.Builder

devices

public AWSRunningInstance.Builder devices(Map<String,BlockDevice> ebsBlockDevices)
Overrides:
devices in class RunningInstance.Builder

dnsName

public AWSRunningInstance.Builder dnsName(String dnsName)
Overrides:
dnsName in class RunningInstance.Builder

imageId

public AWSRunningInstance.Builder imageId(String imageId)
Overrides:
imageId in class RunningInstance.Builder

instanceId

public AWSRunningInstance.Builder instanceId(String instanceId)
Overrides:
instanceId in class RunningInstance.Builder

instanceState

public AWSRunningInstance.Builder instanceState(InstanceState instanceState)
Overrides:
instanceState in class RunningInstance.Builder

instanceType

public AWSRunningInstance.Builder instanceType(String instanceType)
Overrides:
instanceType in class RunningInstance.Builder

ipAddress

public AWSRunningInstance.Builder ipAddress(String ipAddress)
Overrides:
ipAddress in class RunningInstance.Builder

kernelId

public AWSRunningInstance.Builder kernelId(String kernelId)
Overrides:
kernelId in class RunningInstance.Builder

keyName

public AWSRunningInstance.Builder keyName(String keyName)
Overrides:
keyName in class RunningInstance.Builder

launchTime

public AWSRunningInstance.Builder launchTime(Date launchTime)
Overrides:
launchTime in class RunningInstance.Builder

platform

public AWSRunningInstance.Builder platform(String platform)
Overrides:
platform in class RunningInstance.Builder

privateDnsName

public AWSRunningInstance.Builder privateDnsName(String privateDnsName)
Overrides:
privateDnsName in class RunningInstance.Builder

privateIpAddress

public AWSRunningInstance.Builder privateIpAddress(String privateIpAddress)
Overrides:
privateIpAddress in class RunningInstance.Builder

ramdiskId

public AWSRunningInstance.Builder ramdiskId(String ramdiskId)
Overrides:
ramdiskId in class RunningInstance.Builder

reason

public AWSRunningInstance.Builder reason(String reason)
Overrides:
reason in class RunningInstance.Builder

region

public AWSRunningInstance.Builder region(String region)
Overrides:
region in class RunningInstance.Builder

rootDeviceName

public AWSRunningInstance.Builder rootDeviceName(String rootDeviceName)
Overrides:
rootDeviceName in class RunningInstance.Builder

rootDeviceType

public AWSRunningInstance.Builder rootDeviceType(RootDeviceType rootDeviceType)
Overrides:
rootDeviceType in class RunningInstance.Builder

virtualizationType

public AWSRunningInstance.Builder virtualizationType(String virtualizationType)
Overrides:
virtualizationType in class RunningInstance.Builder

device

public AWSRunningInstance.Builder device(String key,
                                         BlockDevice value)
Overrides:
device in class RunningInstance.Builder

groupId

public AWSRunningInstance.Builder groupId(String groupId)
Overrides:
groupId in class RunningInstance.Builder

groupIds

public AWSRunningInstance.Builder groupIds(Iterable<String> groupIds)
Overrides:
groupIds in class RunningInstance.Builder

build

public AWSRunningInstance build()
Overrides:
build in class RunningInstance.Builder


Copyright © 2009-2011 jclouds. All Rights Reserved.