public class ListLocalDisksResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ListLocalDisksResult() |
Modifier and Type | Method and Description |
---|---|
ListLocalDisksResult |
clone() |
boolean |
equals(Object obj) |
List<Disk> |
getDisks()
Returns the value of the Disks property for this object.
|
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
int |
hashCode() |
void |
setDisks(Collection<Disk> disks)
Sets the value of the Disks property for this object.
|
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListLocalDisksResult |
withDisks(Collection<Disk> disks)
Sets the value of the Disks property for this object.
|
ListLocalDisksResult |
withDisks(Disk... disks)
Sets the value of the Disks property for this object.
|
ListLocalDisksResult |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public ListLocalDisksResult withGatewayARN(String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public List<Disk> getDisks()
public void setDisks(Collection<Disk> disks)
disks
- The new value for the Disks property for this object.public ListLocalDisksResult withDisks(Disk... disks)
NOTE: This method appends the values to the existing list (if
any). Use setDisks(java.util.Collection)
or withDisks(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
disks
- The new value for the Disks property for this object.public ListLocalDisksResult withDisks(Collection<Disk> disks)
Returns a reference to this object so that method calls can be chained together.
disks
- The new value for the Disks property for this object.public String toString()
toString
in class Object
Object.toString()
public ListLocalDisksResult clone()
Copyright © 2015. All rights reserved.