@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDisksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDisksResult() |
Modifier and Type | Method and Description |
---|---|
GetDisksResult |
clone() |
boolean |
equals(Object obj) |
List<Disk> |
getDisks()
An array of objects containing information about all block storage disks.
|
String |
getNextPageToken()
A token used for advancing to the next page of results from your GetDisks request.
|
int |
hashCode() |
void |
setDisks(Collection<Disk> disks)
An array of objects containing information about all block storage disks.
|
void |
setNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDisks request.
|
String |
toString()
Returns a string representation of this object.
|
GetDisksResult |
withDisks(Collection<Disk> disks)
An array of objects containing information about all block storage disks.
|
GetDisksResult |
withDisks(Disk... disks)
An array of objects containing information about all block storage disks.
|
GetDisksResult |
withNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDisks request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Disk> getDisks()
An array of objects containing information about all block storage disks.
public void setDisks(Collection<Disk> disks)
An array of objects containing information about all block storage disks.
disks
- An array of objects containing information about all block storage disks.public GetDisksResult withDisks(Disk... disks)
An array of objects containing information about all block storage 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.
disks
- An array of objects containing information about all block storage disks.public GetDisksResult withDisks(Collection<Disk> disks)
An array of objects containing information about all block storage disks.
disks
- An array of objects containing information about all block storage disks.public void setNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDisks request.
nextPageToken
- A token used for advancing to the next page of results from your GetDisks request.public String getNextPageToken()
A token used for advancing to the next page of results from your GetDisks request.
public GetDisksResult withNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your GetDisks request.
nextPageToken
- A token used for advancing to the next page of results from your GetDisks request.public String toString()
toString
in class Object
Object.toString()
public GetDisksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.