com.amazonaws.services.ec2.model
Class BlockDeviceMapping

java.lang.Object
  extended by com.amazonaws.services.ec2.model.BlockDeviceMapping

public class BlockDeviceMapping
extends Object

Block Device Mapping


Constructor Summary
BlockDeviceMapping()
           
 
Method Summary
 String getDeviceName()
          Returns the value of the DeviceName property for this object.
 EbsBlockDevice getEbs()
          Returns the value of the Ebs property for this object.
 String getNoDevice()
          Returns the value of the NoDevice property for this object.
 String getVirtualName()
          Returns the value of the VirtualName property for this object.
 void setDeviceName(String deviceName)
          Sets the value of the DeviceName property for this object.
 void setEbs(EbsBlockDevice ebs)
          Sets the value of the Ebs property for this object.
 void setNoDevice(String noDevice)
          Sets the value of the NoDevice property for this object.
 void setVirtualName(String virtualName)
          Sets the value of the VirtualName property for this object.
 BlockDeviceMapping withDeviceName(String deviceName)
          Sets the value of the DeviceName property for this object.
 BlockDeviceMapping withEbs(EbsBlockDevice ebs)
          Sets the value of the Ebs property for this object.
 BlockDeviceMapping withNoDevice(String noDevice)
          Sets the value of the NoDevice property for this object.
 BlockDeviceMapping withVirtualName(String virtualName)
          Sets the value of the VirtualName property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockDeviceMapping

public BlockDeviceMapping()
Method Detail

getVirtualName

public String getVirtualName()
Returns the value of the VirtualName property for this object.

Returns:
The value of the VirtualName property for this object.

setVirtualName

public void setVirtualName(String virtualName)
Sets the value of the VirtualName property for this object.

Parameters:
virtualName - The new value for the VirtualName property for this object.

withVirtualName

public BlockDeviceMapping withVirtualName(String virtualName)
Sets the value of the VirtualName property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
virtualName - The new value for the VirtualName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeviceName

public String getDeviceName()
Returns the value of the DeviceName property for this object.

Returns:
The value of the DeviceName property for this object.

setDeviceName

public void setDeviceName(String deviceName)
Sets the value of the DeviceName property for this object.

Parameters:
deviceName - The new value for the DeviceName property for this object.

withDeviceName

public BlockDeviceMapping withDeviceName(String deviceName)
Sets the value of the DeviceName property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deviceName - The new value for the DeviceName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getEbs

public EbsBlockDevice getEbs()
Returns the value of the Ebs property for this object.

Returns:
The value of the Ebs property for this object.

setEbs

public void setEbs(EbsBlockDevice ebs)
Sets the value of the Ebs property for this object.

Parameters:
ebs - The new value for the Ebs property for this object.

withEbs

public BlockDeviceMapping withEbs(EbsBlockDevice ebs)
Sets the value of the Ebs property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ebs - The new value for the Ebs property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getNoDevice

public String getNoDevice()
Returns the value of the NoDevice property for this object.

Returns:
The value of the NoDevice property for this object.

setNoDevice

public void setNoDevice(String noDevice)
Sets the value of the NoDevice property for this object.

Parameters:
noDevice - The new value for the NoDevice property for this object.

withNoDevice

public BlockDeviceMapping withNoDevice(String noDevice)
Sets the value of the NoDevice property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
noDevice - The new value for the NoDevice property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.