public class DescribeSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DescribeSnapshotsMessage action.
NOOP
Constructor and Description |
---|
DescribeSnapshotsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCacheClusterId()
A user-supplied cluster identifier.
|
String |
getMarker()
An optional marker returned from a prior request.
|
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
String |
getSnapshotName()
A user-supplied name of the snapshot.
|
String |
getSnapshotSource()
If set to
system , the output shows snapshots that were
automatically created by ElastiCache. |
int |
hashCode() |
void |
setCacheClusterId(String cacheClusterId)
A user-supplied cluster identifier.
|
void |
setMarker(String marker)
An optional marker returned from a prior request.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setSnapshotName(String snapshotName)
A user-supplied name of the snapshot.
|
void |
setSnapshotSource(String snapshotSource)
If set to
system , the output shows snapshots that were
automatically created by ElastiCache. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSnapshotsRequest |
withCacheClusterId(String cacheClusterId)
A user-supplied cluster identifier.
|
DescribeSnapshotsRequest |
withMarker(String marker)
An optional marker returned from a prior request.
|
DescribeSnapshotsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeSnapshotsRequest |
withSnapshotName(String snapshotName)
A user-supplied name of the snapshot.
|
DescribeSnapshotsRequest |
withSnapshotSource(String snapshotSource)
If set to
system , the output shows snapshots that were
automatically created by ElastiCache. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCacheClusterId(String cacheClusterId)
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cache cluster will be described.
cacheClusterId
- A user-supplied cluster identifier. If this parameter is
specified, only snapshots associated with that specific cache
cluster will be described.public String getCacheClusterId()
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cache cluster will be described.
public DescribeSnapshotsRequest withCacheClusterId(String cacheClusterId)
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cache cluster will be described.
cacheClusterId
- A user-supplied cluster identifier. If this parameter is
specified, only snapshots associated with that specific cache
cluster will be described.public void setSnapshotName(String snapshotName)
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot will be described.
snapshotName
- A user-supplied name of the snapshot. If this parameter is
specified, only this snapshot will be described.public String getSnapshotName()
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot will be described.
public DescribeSnapshotsRequest withSnapshotName(String snapshotName)
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot will be described.
snapshotName
- A user-supplied name of the snapshot. If this parameter is
specified, only this snapshot will be described.public void setSnapshotSource(String snapshotSource)
If set to system
, the output shows snapshots that were
automatically created by ElastiCache. If set to user
the
output shows snapshots that were manually created. If omitted, the output
shows both automatically and manually created snapshots.
snapshotSource
- If set to system
, the output shows snapshots that
were automatically created by ElastiCache. If set to
user
the output shows snapshots that were manually
created. If omitted, the output shows both automatically and
manually created snapshots.public String getSnapshotSource()
If set to system
, the output shows snapshots that were
automatically created by ElastiCache. If set to user
the
output shows snapshots that were manually created. If omitted, the output
shows both automatically and manually created snapshots.
system
, the output shows snapshots that
were automatically created by ElastiCache. If set to
user
the output shows snapshots that were manually
created. If omitted, the output shows both automatically and
manually created snapshots.public DescribeSnapshotsRequest withSnapshotSource(String snapshotSource)
If set to system
, the output shows snapshots that were
automatically created by ElastiCache. If set to user
the
output shows snapshots that were manually created. If omitted, the output
shows both automatically and manually created snapshots.
snapshotSource
- If set to system
, the output shows snapshots that
were automatically created by ElastiCache. If set to
user
the output shows snapshots that were manually
created. If omitted, the output shows both automatically and
manually created snapshots.public void setMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
marker
- An optional marker returned from a prior request. Use this marker
for pagination of results from this action. If this parameter is
specified, the response includes only records beyond the marker,
up to the value specified by MaxRecords.public String getMarker()
An optional marker returned from a prior request. Use this marker for pagination of results from this action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
public DescribeSnapshotsRequest withMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this action. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
marker
- An optional marker returned from a prior request. Use this marker
for pagination of results from this action. If this parameter is
specified, the response includes only records beyond the marker,
up to the value specified by MaxRecords.public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records
exist than the specified MaxRecords
value, a marker is
included in the response so that the remaining results can be retrieved.
Default: 50
Constraints: minimum 20; maximum 50.
maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a
marker is included in the response so that the remaining results
can be retrieved.
Default: 50
Constraints: minimum 20; maximum 50.
public Integer getMaxRecords()
The maximum number of records to include in the response. If more records
exist than the specified MaxRecords
value, a marker is
included in the response so that the remaining results can be retrieved.
Default: 50
Constraints: minimum 20; maximum 50.
MaxRecords
value, a
marker is included in the response so that the remaining results
can be retrieved.
Default: 50
Constraints: minimum 20; maximum 50.
public DescribeSnapshotsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records
exist than the specified MaxRecords
value, a marker is
included in the response so that the remaining results can be retrieved.
Default: 50
Constraints: minimum 20; maximum 50.
maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a
marker is included in the response so that the remaining results
can be retrieved.
Default: 50
Constraints: minimum 20; maximum 50.
public String toString()
toString
in class Object
Object.toString()
public DescribeSnapshotsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.