org.jclouds.ec2.domain
Class RunningInstance.Builder

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

public static class RunningInstance.Builder
extends Object


Field Summary
protected  String amiLaunchIndex
           
protected  String availabilityZone
           
protected  String dnsName
           
protected  Map<String,BlockDevice> ebsBlockDevices
           
protected  Set<String> groupIds
           
protected  String imageId
           
protected  String instanceId
           
protected  InstanceState instanceState
           
protected  String instanceType
           
protected  String ipAddress
           
protected  String kernelId
           
protected  String keyName
           
protected  Date launchTime
           
protected  String platform
           
protected  String privateDnsName
           
protected  String privateIpAddress
           
protected  String ramdiskId
           
protected  String reason
           
protected  String region
           
protected  String rootDeviceName
           
protected  RootDeviceType rootDeviceType
           
protected  String virtualizationType
           
 
Constructor Summary
RunningInstance.Builder()
           
 
Method Summary
 RunningInstance.Builder amiLaunchIndex(String amiLaunchIndex)
           
 RunningInstance.Builder availabilityZone(String availabilityZone)
           
 RunningInstance build()
           
 RunningInstance.Builder device(String key, BlockDevice value)
           
 RunningInstance.Builder devices(Map<String,BlockDevice> ebsBlockDevices)
           
 RunningInstance.Builder dnsName(String dnsName)
           
 String getDnsName()
           
 String getIpAddress()
           
 String getPrivateDnsName()
           
 String getPrivateIpAddress()
           
 RunningInstance.Builder groupId(String groupId)
           
 RunningInstance.Builder groupIds(Iterable<String> groupIds)
           
 RunningInstance.Builder imageId(String imageId)
           
 RunningInstance.Builder instanceId(String instanceId)
           
 RunningInstance.Builder instanceState(InstanceState instanceState)
           
 RunningInstance.Builder instanceType(String instanceType)
           
 RunningInstance.Builder ipAddress(String ipAddress)
           
 RunningInstance.Builder kernelId(String kernelId)
           
 RunningInstance.Builder keyName(String keyName)
           
 RunningInstance.Builder launchTime(Date launchTime)
           
 RunningInstance.Builder platform(String platform)
           
 RunningInstance.Builder privateDnsName(String privateDnsName)
           
 RunningInstance.Builder privateIpAddress(String privateIpAddress)
           
 RunningInstance.Builder ramdiskId(String ramdiskId)
           
 RunningInstance.Builder reason(String reason)
           
 RunningInstance.Builder region(String region)
           
 RunningInstance.Builder rootDeviceName(String rootDeviceName)
           
 RunningInstance.Builder rootDeviceType(RootDeviceType rootDeviceType)
           
 RunningInstance.Builder virtualizationType(String virtualizationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

region

protected String region

groupIds

protected Set<String> groupIds

amiLaunchIndex

protected String amiLaunchIndex

dnsName

protected String dnsName

imageId

protected String imageId

instanceId

protected String instanceId

instanceState

protected InstanceState instanceState

instanceType

protected String instanceType

ipAddress

protected String ipAddress

kernelId

protected String kernelId

keyName

protected String keyName

launchTime

protected Date launchTime

availabilityZone

protected String availabilityZone

virtualizationType

protected String virtualizationType

platform

protected String platform

privateDnsName

protected String privateDnsName

privateIpAddress

protected String privateIpAddress

ramdiskId

protected String ramdiskId

reason

protected String reason

rootDeviceType

protected RootDeviceType rootDeviceType

rootDeviceName

protected String rootDeviceName

ebsBlockDevices

protected Map<String,BlockDevice> ebsBlockDevices
Constructor Detail

RunningInstance.Builder

public RunningInstance.Builder()
Method Detail

region

public RunningInstance.Builder region(String region)

groupIds

public RunningInstance.Builder groupIds(Iterable<String> groupIds)

groupId

public RunningInstance.Builder groupId(String groupId)

amiLaunchIndex

public RunningInstance.Builder amiLaunchIndex(String amiLaunchIndex)

dnsName

public RunningInstance.Builder dnsName(String dnsName)

imageId

public RunningInstance.Builder imageId(String imageId)

instanceId

public RunningInstance.Builder instanceId(String instanceId)

instanceState

public RunningInstance.Builder instanceState(InstanceState instanceState)

instanceType

public RunningInstance.Builder instanceType(String instanceType)

ipAddress

public RunningInstance.Builder ipAddress(String ipAddress)

kernelId

public RunningInstance.Builder kernelId(String kernelId)

keyName

public RunningInstance.Builder keyName(String keyName)

launchTime

public RunningInstance.Builder launchTime(Date launchTime)

availabilityZone

public RunningInstance.Builder availabilityZone(String availabilityZone)

virtualizationType

public RunningInstance.Builder virtualizationType(String virtualizationType)

platform

public RunningInstance.Builder platform(String platform)

privateDnsName

public RunningInstance.Builder privateDnsName(String privateDnsName)

privateIpAddress

public RunningInstance.Builder privateIpAddress(String privateIpAddress)

ramdiskId

public RunningInstance.Builder ramdiskId(String ramdiskId)

reason

public RunningInstance.Builder reason(String reason)

rootDeviceType

public RunningInstance.Builder rootDeviceType(RootDeviceType rootDeviceType)

rootDeviceName

public RunningInstance.Builder rootDeviceName(String rootDeviceName)

devices

public RunningInstance.Builder devices(Map<String,BlockDevice> ebsBlockDevices)

device

public RunningInstance.Builder device(String key,
                                      BlockDevice value)

build

public RunningInstance build()

getDnsName

public String getDnsName()

getIpAddress

public String getIpAddress()

getPrivateDnsName

public String getPrivateDnsName()

getPrivateIpAddress

public String getPrivateIpAddress()


Copyright © 2009-2012 jclouds. All Rights Reserved.