Class RegisterVolumeResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.RegisterVolumeResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RegisterVolumeResult extends Object implements Serializable, Cloneable
Contains the response to a
RegisterVolumerequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisterVolumeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterVolumeResultclone()booleanequals(Object obj)StringgetVolumeId()The volume ID.inthashCode()voidsetVolumeId(String volumeId)The volume ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.RegisterVolumeResultwithVolumeId(String volumeId)The volume ID.
-
-
-
Method Detail
-
setVolumeId
public void setVolumeId(String volumeId)
The volume ID.
- Parameters:
volumeId- The volume ID.
-
getVolumeId
public String getVolumeId()
The volume ID.
- Returns:
- The volume ID.
-
withVolumeId
public RegisterVolumeResult withVolumeId(String volumeId)
The volume ID.
- Parameters:
volumeId- The volume ID.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterVolumeResult clone()
-
-