Package com.amazonaws.services.ec2.model
Class InstanceBlockDeviceMapping
java.lang.Object
com.amazonaws.services.ec2.model.InstanceBlockDeviceMapping
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a block device mapping.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The device name exposed to the instance (for example,/dev/sdh
orxvdh
).getEbs()
Parameters used to automatically set up EBS volumes when the instance is launched.int
hashCode()
void
setDeviceName
(String deviceName) The device name exposed to the instance (for example,/dev/sdh
orxvdh
).void
Parameters used to automatically set up EBS volumes when the instance is launched.toString()
Returns a string representation of this object; useful for testing and debugging.withDeviceName
(String deviceName) The device name exposed to the instance (for example,/dev/sdh
orxvdh
).Parameters used to automatically set up EBS volumes when the instance is launched.
-
Constructor Details
-
InstanceBlockDeviceMapping
public InstanceBlockDeviceMapping()
-
-
Method Details
-
setDeviceName
The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).- Parameters:
deviceName
- The device name exposed to the instance (for example,/dev/sdh
orxvdh
).
-
getDeviceName
The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).- Returns:
- The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).
-
withDeviceName
The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).- Parameters:
deviceName
- The device name exposed to the instance (for example,/dev/sdh
orxvdh
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
- Parameters:
ebs
- Parameters used to automatically set up EBS volumes when the instance is launched.
-
getEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
- Returns:
- Parameters used to automatically set up EBS volumes when the instance is launched.
-
withEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
- Parameters:
ebs
- Parameters used to automatically set up EBS volumes when the instance is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-