com.amazonaws.services.autoscaling.model
Class BlockDeviceMapping

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

public class BlockDeviceMapping
extends Object

The BlockDeviceMapping data type.


Constructor Summary
BlockDeviceMapping()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDeviceName()
          The name of the device within Amazon EC2.
 Ebs getEbs()
          The Elastic Block Storage volume information.
 String getVirtualName()
          The virtual name associated with the device.
 int hashCode()
           
 void setDeviceName(String deviceName)
          The name of the device within Amazon EC2.
 void setEbs(Ebs ebs)
          The Elastic Block Storage volume information.
 void setVirtualName(String virtualName)
          The virtual name associated with the device.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 BlockDeviceMapping withDeviceName(String deviceName)
          The name of the device within Amazon EC2.
 BlockDeviceMapping withEbs(Ebs ebs)
          The Elastic Block Storage volume information.
 BlockDeviceMapping withVirtualName(String virtualName)
          The virtual name associated with the device.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockDeviceMapping

public BlockDeviceMapping()
Method Detail

getVirtualName

public String getVirtualName()
The virtual name associated with the device.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The virtual name associated with the device.

setVirtualName

public void setVirtualName(String virtualName)
The virtual name associated with the device.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
virtualName - The virtual name associated with the device.

withVirtualName

public BlockDeviceMapping withVirtualName(String virtualName)
The virtual name associated with the device.

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

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
virtualName - The virtual name associated with the device.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeviceName

public String getDeviceName()
The name of the device within Amazon EC2.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the device within Amazon EC2.

setDeviceName

public void setDeviceName(String deviceName)
The name of the device within Amazon EC2.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
deviceName - The name of the device within Amazon EC2.

withDeviceName

public BlockDeviceMapping withDeviceName(String deviceName)
The name of the device within Amazon EC2.

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

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
deviceName - The name of the device within Amazon EC2.
Returns:
A reference to this updated object so that method calls can be chained together.

getEbs

public Ebs getEbs()
The Elastic Block Storage volume information.

Returns:
The Elastic Block Storage volume information.

setEbs

public void setEbs(Ebs ebs)
The Elastic Block Storage volume information.

Parameters:
ebs - The Elastic Block Storage volume information.

withEbs

public BlockDeviceMapping withEbs(Ebs ebs)
The Elastic Block Storage volume information.

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

Parameters:
ebs - The Elastic Block Storage volume information.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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