@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DescribeSnapshotsMessage
operation.
NOOP
Constructor and Description |
---|
DescribeSnapshotsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 |
getReplicationGroupId()
A user-supplied replication group identifier.
|
Boolean |
getShowNodeGroupConfig()
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
|
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() |
Boolean |
isShowNodeGroupConfig()
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
|
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 |
setReplicationGroupId(String replicationGroupId)
A user-supplied replication group identifier.
|
void |
setShowNodeGroupConfig(Boolean showNodeGroupConfig)
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
|
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 |
withReplicationGroupId(String replicationGroupId)
A user-supplied replication group identifier.
|
DescribeSnapshotsRequest |
withShowNodeGroupConfig(Boolean showNodeGroupConfig)
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
|
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. |
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 setReplicationGroupId(String replicationGroupId)
A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.
replicationGroupId
- A user-supplied replication group identifier. If this parameter is specified, only snapshots associated
with that specific replication group are described.public String getReplicationGroupId()
A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.
public DescribeSnapshotsRequest withReplicationGroupId(String replicationGroupId)
A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.
replicationGroupId
- A user-supplied replication group identifier. If this parameter is specified, only snapshots associated
with that specific replication group are described.public void setCacheClusterId(String cacheClusterId)
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
cacheClusterId
- A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that
specific cluster are described.public String getCacheClusterId()
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
public DescribeSnapshotsRequest withCacheClusterId(String cacheClusterId)
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
cacheClusterId
- A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that
specific cluster are described.public void setSnapshotName(String snapshotName)
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.
snapshotName
- A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.public String getSnapshotName()
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.
public DescribeSnapshotsRequest withSnapshotName(String snapshotName)
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.
snapshotName
- A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are 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 operation.
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
operation. 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 operation.
If this parameter is specified, the response includes only records beyond the marker, up to the value specified
by MaxRecords
.
MaxRecords
.public DescribeSnapshotsRequest withMarker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this operation.
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
operation. 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 void setShowNodeGroupConfig(Boolean showNodeGroupConfig)
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
showNodeGroupConfig
- A Boolean value which if true, the node group (shard) configuration is included in the snapshot
description.public Boolean getShowNodeGroupConfig()
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
public DescribeSnapshotsRequest withShowNodeGroupConfig(Boolean showNodeGroupConfig)
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
showNodeGroupConfig
- A Boolean value which if true, the node group (shard) configuration is included in the snapshot
description.public Boolean isShowNodeGroupConfig()
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
public String toString()
toString
in class Object
Object.toString()
public DescribeSnapshotsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.