@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListSnapshotsRequest() |
Modifier and Type | Method and Description |
---|---|
ListSnapshotsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The timestamp showing when the snapshot creation finished.
|
Integer |
getMaxResults()
An optional parameter that specifies the maximum number of results to return.
|
String |
getNamespaceArn()
The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.
|
String |
getNamespaceName()
The namespace from which to list all snapshots.
|
String |
getNextToken()
If
nextToken is returned, there are more results available. |
String |
getOwnerAccount()
The owner Amazon Web Services account of the snapshot.
|
Date |
getStartTime()
The time when the creation of the snapshot was initiated.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The timestamp showing when the snapshot creation finished.
|
void |
setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
void |
setNamespaceArn(String namespaceArn)
The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.
|
void |
setNamespaceName(String namespaceName)
The namespace from which to list all snapshots.
|
void |
setNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
void |
setOwnerAccount(String ownerAccount)
The owner Amazon Web Services account of the snapshot.
|
void |
setStartTime(Date startTime)
The time when the creation of the snapshot was initiated.
|
String |
toString()
Returns a string representation of this object.
|
ListSnapshotsRequest |
withEndTime(Date endTime)
The timestamp showing when the snapshot creation finished.
|
ListSnapshotsRequest |
withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
ListSnapshotsRequest |
withNamespaceArn(String namespaceArn)
The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.
|
ListSnapshotsRequest |
withNamespaceName(String namespaceName)
The namespace from which to list all snapshots.
|
ListSnapshotsRequest |
withNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
ListSnapshotsRequest |
withOwnerAccount(String ownerAccount)
The owner Amazon Web Services account of the snapshot.
|
ListSnapshotsRequest |
withStartTime(Date startTime)
The time when the creation of the snapshot was initiated.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEndTime(Date endTime)
The timestamp showing when the snapshot creation finished.
endTime
- The timestamp showing when the snapshot creation finished.public Date getEndTime()
The timestamp showing when the snapshot creation finished.
public ListSnapshotsRequest withEndTime(Date endTime)
The timestamp showing when the snapshot creation finished.
endTime
- The timestamp showing when the snapshot creation finished.public void setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to display the next page of results.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to display the next page of results.public Integer getMaxResults()
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to display the next page of results.
nextToken
to display the next page of results.public ListSnapshotsRequest withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to display the next page of results.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to display the next page of results.public void setNamespaceArn(String namespaceArn)
The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.
namespaceArn
- The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.public String getNamespaceArn()
The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.
public ListSnapshotsRequest withNamespaceArn(String namespaceArn)
The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.
namespaceArn
- The Amazon Resource Name (ARN) of the namespace from which to list all snapshots.public void setNamespaceName(String namespaceName)
The namespace from which to list all snapshots.
namespaceName
- The namespace from which to list all snapshots.public String getNamespaceName()
The namespace from which to list all snapshots.
public ListSnapshotsRequest withNamespaceName(String namespaceName)
The namespace from which to list all snapshots.
namespaceName
- The namespace from which to list all snapshots.public void setNextToken(String nextToken)
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- If nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public String getNextToken()
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public ListSnapshotsRequest withNextToken(String nextToken)
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- If nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public void setOwnerAccount(String ownerAccount)
The owner Amazon Web Services account of the snapshot.
ownerAccount
- The owner Amazon Web Services account of the snapshot.public String getOwnerAccount()
The owner Amazon Web Services account of the snapshot.
public ListSnapshotsRequest withOwnerAccount(String ownerAccount)
The owner Amazon Web Services account of the snapshot.
ownerAccount
- The owner Amazon Web Services account of the snapshot.public void setStartTime(Date startTime)
The time when the creation of the snapshot was initiated.
startTime
- The time when the creation of the snapshot was initiated.public Date getStartTime()
The time when the creation of the snapshot was initiated.
public ListSnapshotsRequest withStartTime(Date startTime)
The time when the creation of the snapshot was initiated.
startTime
- The time when the creation of the snapshot was initiated.public String toString()
toString
in class Object
Object.toString()
public ListSnapshotsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()