com.amazonaws.services.storagegateway.model
Class VolumeInfo

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.VolumeInfo
All Implemented Interfaces:
Serializable

public class VolumeInfo
extends Object
implements Serializable

Volume Info

See Also:
Serialized Form

Constructor Summary
VolumeInfo()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getVolumeARN()
          Returns the value of the VolumeARN property for this object.
 String getVolumeType()
          Returns the value of the VolumeType property for this object.
 int hashCode()
           
 void setVolumeARN(String volumeARN)
          Sets the value of the VolumeARN property for this object.
 void setVolumeType(String volumeType)
          Sets the value of the VolumeType property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeInfo withVolumeARN(String volumeARN)
          Sets the value of the VolumeARN property for this object.
 VolumeInfo withVolumeType(String volumeType)
          Sets the value of the VolumeType property for this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeInfo

public VolumeInfo()
Method Detail

getVolumeARN

public String getVolumeARN()
Returns the value of the VolumeARN property for this object.

Constraints:
Length: 50 - 500

Returns:
The value of the VolumeARN property for this object.

setVolumeARN

public void setVolumeARN(String volumeARN)
Sets the value of the VolumeARN property for this object.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The new value for the VolumeARN property for this object.

withVolumeARN

public VolumeInfo withVolumeARN(String volumeARN)
Sets the value of the VolumeARN property for this object.

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

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The new value for the VolumeARN property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeType

public String getVolumeType()
Returns the value of the VolumeType property for this object.

Constraints:
Length: 3 - 100

Returns:
The value of the VolumeType property for this object.

setVolumeType

public void setVolumeType(String volumeType)
Sets the value of the VolumeType property for this object.

Constraints:
Length: 3 - 100

Parameters:
volumeType - The new value for the VolumeType property for this object.

withVolumeType

public VolumeInfo withVolumeType(String volumeType)
Sets the value of the VolumeType property for this object.

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

Constraints:
Length: 3 - 100

Parameters:
volumeType - The new value for the VolumeType property for this object.
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.