@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServerlessCachesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeServerlessCachesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeServerlessCachesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An optional marker returned from a prior request to support pagination of results from this operation.
|
List<ServerlessCache> |
getServerlessCaches()
The serverless caches 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 |
setServerlessCaches(Collection<ServerlessCache> serverlessCaches)
The serverless caches associated with a given description request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeServerlessCachesResult |
withNextToken(String nextToken)
An optional marker returned from a prior request to support pagination of results from this operation.
|
DescribeServerlessCachesResult |
withServerlessCaches(Collection<ServerlessCache> serverlessCaches)
The serverless caches associated with a given description request.
|
DescribeServerlessCachesResult |
withServerlessCaches(ServerlessCache... serverlessCaches)
The serverless caches associated with a given description request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 MaxResults.
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 MaxResults.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 MaxResults.
public DescribeServerlessCachesResult 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 MaxResults.
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 MaxResults.public List<ServerlessCache> getServerlessCaches()
The serverless caches associated with a given description request.
public void setServerlessCaches(Collection<ServerlessCache> serverlessCaches)
The serverless caches associated with a given description request.
serverlessCaches
- The serverless caches associated with a given description request.public DescribeServerlessCachesResult withServerlessCaches(ServerlessCache... serverlessCaches)
The serverless caches associated with a given description request.
NOTE: This method appends the values to the existing list (if any). Use
setServerlessCaches(java.util.Collection)
or withServerlessCaches(java.util.Collection)
if you
want to override the existing values.
serverlessCaches
- The serverless caches associated with a given description request.public DescribeServerlessCachesResult withServerlessCaches(Collection<ServerlessCache> serverlessCaches)
The serverless caches associated with a given description request.
serverlessCaches
- The serverless caches associated with a given description request.public String toString()
toString
in class Object
Object.toString()
public DescribeServerlessCachesResult clone()
Copyright © 2024. All rights reserved.