com.amazonaws.services.opsworks.model
Class RegisterVolumeResult

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.RegisterVolumeResult
All Implemented Interfaces:
Serializable

public class RegisterVolumeResult
extends Object
implements Serializable

Contains the response to a RegisterVolume request.

See Also:
Serialized Form

Constructor Summary
RegisterVolumeResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegisterVolumeResult

public RegisterVolumeResult()
Method Detail

getVolumeId

public String getVolumeId()
The volume ID.

Returns:
The volume ID.

setVolumeId

public void setVolumeId(String volumeId)
The volume ID.

Parameters:
volumeId - The volume ID.

withVolumeId

public RegisterVolumeResult withVolumeId(String volumeId)
The volume ID.

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

Parameters:
volumeId - The volume ID.
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.