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
RegisterVolume
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisterVolumeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterVolumeResult
clone()
boolean
equals(Object obj)
String
getVolumeId()
The volume ID.int
hashCode()
void
setVolumeId(String volumeId)
The volume ID.String
toString()
Returns a string representation of this object; useful for testing and debugging.RegisterVolumeResult
withVolumeId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterVolumeResult clone()
-
-