Class DescribeCacheEngineVersionsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.DescribeCacheEngineVersionsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeCacheEngineVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DescribeCacheEngineVersions action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeCacheEngineVersionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCacheEngineVersionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCacheParameterGroupFamily()The name of a specific cache parameter group family to return details for.BooleangetDefaultOnly()If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.StringgetEngine()The cache engine to return.StringgetEngineVersion()The cache engine version to return.StringgetMarker()An optional marker returned from a prior request.IntegergetMaxRecords()The maximum number of records to include in the response.inthashCode()BooleanisDefaultOnly()If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.voidsetCacheParameterGroupFamily(String cacheParameterGroupFamily)The name of a specific cache parameter group family to return details for.voidsetDefaultOnly(Boolean defaultOnly)If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.voidsetEngine(String engine)The cache engine to return.voidsetEngineVersion(String engineVersion)The cache engine version to return.voidsetMarker(String marker)An optional marker returned from a prior request.voidsetMaxRecords(Integer maxRecords)The maximum number of records to include in the response.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeCacheEngineVersionsRequestwithCacheParameterGroupFamily(String cacheParameterGroupFamily)The name of a specific cache parameter group family to return details for.DescribeCacheEngineVersionsRequestwithDefaultOnly(Boolean defaultOnly)If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.DescribeCacheEngineVersionsRequestwithEngine(String engine)The cache engine to return.DescribeCacheEngineVersionsRequestwithEngineVersion(String engineVersion)The cache engine version to return.DescribeCacheEngineVersionsRequestwithMarker(String marker)An optional marker returned from a prior request.DescribeCacheEngineVersionsRequestwithMaxRecords(Integer maxRecords)The maximum number of records to include in the response.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setEngine
public void setEngine(String engine)
The cache engine to return. Valid values:
memcached|redis- Parameters:
engine- The cache engine to return. Valid values:memcached|redis
-
getEngine
public String getEngine()
The cache engine to return. Valid values:
memcached|redis- Returns:
- The cache engine to return. Valid values:
memcached|redis
-
withEngine
public DescribeCacheEngineVersionsRequest withEngine(String engine)
The cache engine to return. Valid values:
memcached|redis- Parameters:
engine- The cache engine to return. Valid values:memcached|redis- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineVersion
public void setEngineVersion(String engineVersion)
The cache engine version to return.
Example:
1.4.14- Parameters:
engineVersion- The cache engine version to return.Example:
1.4.14
-
getEngineVersion
public String getEngineVersion()
The cache engine version to return.
Example:
1.4.14- Returns:
- The cache engine version to return.
Example:
1.4.14
-
withEngineVersion
public DescribeCacheEngineVersionsRequest withEngineVersion(String engineVersion)
The cache engine version to return.
Example:
1.4.14- Parameters:
engineVersion- The cache engine version to return.Example:
1.4.14- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheParameterGroupFamily
public void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of a specific cache parameter group family to return details for.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
cacheParameterGroupFamily- The name of a specific cache parameter group family to return details for.Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
getCacheParameterGroupFamily
public String getCacheParameterGroupFamily()
The name of a specific cache parameter group family to return details for.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- The name of a specific cache parameter group family to return
details for.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
-
withCacheParameterGroupFamily
public DescribeCacheEngineVersionsRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of a specific cache parameter group family to return details for.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
cacheParameterGroupFamily- The name of a specific cache parameter group family to return details for.Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxRecords
public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
- Parameters:
maxRecords- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
-
getMaxRecords
public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
- Returns:
- The maximum number of records to include in the response. If more
records exist than the specified
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
-
withMaxRecords
public DescribeCacheEngineVersionsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
- Parameters:
maxRecords- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
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.
- Parameters:
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.
-
getMarker
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.
- Returns:
- 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.
-
withMarker
public DescribeCacheEngineVersionsRequest 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultOnly
public void setDefaultOnly(Boolean defaultOnly)
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
- Parameters:
defaultOnly- If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
-
getDefaultOnly
public Boolean getDefaultOnly()
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
- Returns:
- If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
-
withDefaultOnly
public DescribeCacheEngineVersionsRequest withDefaultOnly(Boolean defaultOnly)
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
- Parameters:
defaultOnly- If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDefaultOnly
public Boolean isDefaultOnly()
If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
- Returns:
- If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCacheEngineVersionsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-