Class ListLocalDisksResult
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.ListLocalDisksResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListLocalDisksResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListLocalDisksResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLocalDisksResult
clone()
boolean
equals(Object obj)
List<Disk>
getDisks()
String
getGatewayARN()
int
hashCode()
void
setDisks(Collection<Disk> disks)
void
setGatewayARN(String gatewayARN)
String
toString()
Returns a string representation of this object; useful for testing and debugging.ListLocalDisksResult
withDisks(Disk... disks)
NOTE: This method appends the values to the existing list (if any).ListLocalDisksResult
withDisks(Collection<Disk> disks)
ListLocalDisksResult
withGatewayARN(String gatewayARN)
-
-
-
Method Detail
-
setGatewayARN
public void setGatewayARN(String gatewayARN)
- Parameters:
gatewayARN
-
-
getGatewayARN
public String getGatewayARN()
- Returns:
-
withGatewayARN
public ListLocalDisksResult withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDisks
public void setDisks(Collection<Disk> disks)
- Parameters:
disks
-
-
withDisks
public ListLocalDisksResult withDisks(Disk... disks)
NOTE: This method appends the values to the existing list (if any). Use
setDisks(java.util.Collection)
orwithDisks(java.util.Collection)
if you want to override the existing values.- Parameters:
disks
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDisks
public ListLocalDisksResult withDisks(Collection<Disk> disks)
- Parameters:
disks
-- 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 ListLocalDisksResult clone()
-
-