@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServerlessCacheSnapshotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| DescribeServerlessCacheSnapshotsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeServerlessCacheSnapshotsResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextToken()
 An optional marker returned from a prior request to support pagination of results from this operation. | 
| List<ServerlessCacheSnapshot> | getServerlessCacheSnapshots()
 The serverless caches snapshots associated with a given description request. | 
| int | hashCode() | 
| void | setNextToken(String nextToken)
 An optional marker returned from a prior request to support pagination of results from this operation. | 
| void | setServerlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots)
 The serverless caches snapshots associated with a given description request. | 
| String | toString()Returns a string representation of this object. | 
| DescribeServerlessCacheSnapshotsResult | withNextToken(String nextToken)
 An optional marker returned from a prior request to support pagination of results from this operation. | 
| DescribeServerlessCacheSnapshotsResult | withServerlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots)
 The serverless caches snapshots associated with a given description request. | 
| DescribeServerlessCacheSnapshotsResult | withServerlessCacheSnapshots(ServerlessCacheSnapshot... serverlessCacheSnapshots)
 The serverless caches snapshots associated with a given description request. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic DescribeServerlessCacheSnapshotsResult()
public void setNextToken(String nextToken)
An optional marker returned from a prior request to support 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 max-results. Available for Redis only.
nextToken - An optional marker returned from a prior request to support 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 max-results. Available for Redis only.public String getNextToken()
An optional marker returned from a prior request to support 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 max-results. Available for Redis only.
public DescribeServerlessCacheSnapshotsResult withNextToken(String nextToken)
An optional marker returned from a prior request to support 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 max-results. Available for Redis only.
nextToken - An optional marker returned from a prior request to support 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 max-results. Available for Redis only.public List<ServerlessCacheSnapshot> getServerlessCacheSnapshots()
The serverless caches snapshots associated with a given description request. Available for Redis only.
public void setServerlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots)
The serverless caches snapshots associated with a given description request. Available for Redis only.
serverlessCacheSnapshots - The serverless caches snapshots associated with a given description request. Available for Redis only.public DescribeServerlessCacheSnapshotsResult withServerlessCacheSnapshots(ServerlessCacheSnapshot... serverlessCacheSnapshots)
The serverless caches snapshots associated with a given description request. Available for Redis only.
 NOTE: This method appends the values to the existing list (if any). Use
 setServerlessCacheSnapshots(java.util.Collection) or
 withServerlessCacheSnapshots(java.util.Collection) if you want to override the existing values.
 
serverlessCacheSnapshots - The serverless caches snapshots associated with a given description request. Available for Redis only.public DescribeServerlessCacheSnapshotsResult withServerlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots)
The serverless caches snapshots associated with a given description request. Available for Redis only.
serverlessCacheSnapshots - The serverless caches snapshots associated with a given description request. Available for Redis only.public String toString()
toString in class ObjectObject.toString()public DescribeServerlessCacheSnapshotsResult clone()