@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()
The token to advance to the next page of results from your request.
|
int |
hashCode() |
void |
setDisks(Collection<Disk> disks)
An array of objects containing information about all block storage disks.
|
void |
setNextPageToken(String nextPageToken)
The token to advance to the next page of results from your 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)
The token to advance to the next page of results from your 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)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDisks
request and specify the next page token
using the pageToken
parameter.
nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDisks
request and specify the next page
token using the pageToken
parameter.
public String getNextPageToken()
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDisks
request and specify the next page token
using the pageToken
parameter.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDisks
request and specify the next page
token using the pageToken
parameter.
public GetDisksResult withNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDisks
request and specify the next page token
using the pageToken
parameter.
nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetDisks
request and specify the next page
token using the pageToken
parameter.
public String toString()
toString
in class Object
Object.toString()
public GetDisksResult clone()