com.amazonaws.services.ec2.model
Class InstanceBlockDeviceMappingSpecification

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InstanceBlockDeviceMappingSpecification
All Implemented Interfaces:
Serializable

public class InstanceBlockDeviceMappingSpecification
extends Object
implements Serializable

Describes a block device mapping entry.

See Also:
Serialized Form

Constructor Summary
InstanceBlockDeviceMappingSpecification()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDeviceName()
          The device name exposed to the instance (for example, /dev/sdh).
 EbsInstanceBlockDeviceSpecification getEbs()
          Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
 String getNoDevice()
          suppress the specified device included in the block device mapping.
 String getVirtualName()
          The virtual device name.
 int hashCode()
           
 void setDeviceName(String deviceName)
          The device name exposed to the instance (for example, /dev/sdh).
 void setEbs(EbsInstanceBlockDeviceSpecification ebs)
          Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
 void setNoDevice(String noDevice)
          suppress the specified device included in the block device mapping.
 void setVirtualName(String virtualName)
          The virtual device name.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 InstanceBlockDeviceMappingSpecification withDeviceName(String deviceName)
          The device name exposed to the instance (for example, /dev/sdh).
 InstanceBlockDeviceMappingSpecification withEbs(EbsInstanceBlockDeviceSpecification ebs)
          Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
 InstanceBlockDeviceMappingSpecification withNoDevice(String noDevice)
          suppress the specified device included in the block device mapping.
 InstanceBlockDeviceMappingSpecification withVirtualName(String virtualName)
          The virtual device name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceBlockDeviceMappingSpecification

public InstanceBlockDeviceMappingSpecification()
Method Detail

getDeviceName

public String getDeviceName()
The device name exposed to the instance (for example, /dev/sdh).

Returns:
The device name exposed to the instance (for example, /dev/sdh).

setDeviceName

public void setDeviceName(String deviceName)
The device name exposed to the instance (for example, /dev/sdh).

Parameters:
deviceName - The device name exposed to the instance (for example, /dev/sdh).

withDeviceName

public InstanceBlockDeviceMappingSpecification withDeviceName(String deviceName)
The device name exposed to the instance (for example, /dev/sdh).

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

Parameters:
deviceName - The device name exposed to the instance (for example, /dev/sdh).
Returns:
A reference to this updated object so that method calls can be chained together.

getEbs

public EbsInstanceBlockDeviceSpecification getEbs()
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.

Returns:
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.

setEbs

public void setEbs(EbsInstanceBlockDeviceSpecification ebs)
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.

Parameters:
ebs - Parameters used to automatically set up Amazon EBS volumes when the instance is launched.

withEbs

public InstanceBlockDeviceMappingSpecification withEbs(EbsInstanceBlockDeviceSpecification ebs)
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.

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

Parameters:
ebs - Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
Returns:
A reference to this updated object so that method calls can be chained together.

getVirtualName

public String getVirtualName()
The virtual device name.

Returns:
The virtual device name.

setVirtualName

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

Parameters:
virtualName - The virtual device name.

withVirtualName

public InstanceBlockDeviceMappingSpecification withVirtualName(String virtualName)
The virtual device name.

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

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

getNoDevice

public String getNoDevice()
suppress the specified device included in the block device mapping.

Returns:
suppress the specified device included in the block device mapping.

setNoDevice

public void setNoDevice(String noDevice)
suppress the specified device included in the block device mapping.

Parameters:
noDevice - suppress the specified device included in the block device mapping.

withNoDevice

public InstanceBlockDeviceMappingSpecification withNoDevice(String noDevice)
suppress the specified device included in the block device mapping.

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

Parameters:
noDevice - suppress the specified device included in the block device mapping.
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 © 2016. All rights reserved.