Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class DescribeCacheEngineVersionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.DescribeCacheEngineVersionsRequest
All Implemented Interfaces:
Serializable

public class DescribeCacheEngineVersionsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeCacheEngineVersions operation.

Returns a list of the available cache engines and their versions.

See Also:
AmazonElastiCache.describeCacheEngineVersions(DescribeCacheEngineVersionsRequest), Serialized Form

Constructor Summary
DescribeCacheEngineVersionsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheParameterGroupFamily()
          The name of a specific Cache Parameter Group family to return details for.
 Boolean getDefaultOnly()
          Indicates that only the default version of the specified engine or engine and major version combination is returned.
 String getEngine()
          The cache engine to return.
 String getEngineVersion()
          The cache engine version to return.
 String getMarker()
          An optional marker provided in the previous DescribeCacheParameterGroups request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 int hashCode()
           
 Boolean isDefaultOnly()
          Indicates that only the default version of the specified engine or engine and major version combination is returned.
 void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
          The name of a specific Cache Parameter Group family to return details for.
 void setDefaultOnly(Boolean defaultOnly)
          Indicates that only the default version of the specified engine or engine and major version combination is returned.
 void setEngine(String engine)
          The cache engine to return.
 void setEngineVersion(String engineVersion)
          The cache engine version to return.
 void setMarker(String marker)
          An optional marker provided in the previous DescribeCacheParameterGroups request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeCacheEngineVersionsRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
          The name of a specific Cache Parameter Group family to return details for.
 DescribeCacheEngineVersionsRequest withDefaultOnly(Boolean defaultOnly)
          Indicates that only the default version of the specified engine or engine and major version combination is returned.
 DescribeCacheEngineVersionsRequest withEngine(String engine)
          The cache engine to return.
 DescribeCacheEngineVersionsRequest withEngineVersion(String engineVersion)
          The cache engine version to return.
 DescribeCacheEngineVersionsRequest withMarker(String marker)
          An optional marker provided in the previous DescribeCacheParameterGroups request.
 DescribeCacheEngineVersionsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeCacheEngineVersionsRequest

public DescribeCacheEngineVersionsRequest()
Method Detail

getEngine

public String getEngine()
The cache engine to return.

Returns:
The cache engine to return.

setEngine

public void setEngine(String engine)
The cache engine to return.

Parameters:
engine - The cache engine to return.

withEngine

public DescribeCacheEngineVersionsRequest withEngine(String engine)
The cache engine to return.

Returns a reference to this object so that method calls can be chained together.

Parameters:
engine - The cache engine to return.
Returns:
A reference to this updated object so that method calls can be chained together.

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


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


withEngineVersion

public DescribeCacheEngineVersionsRequest withEngineVersion(String engineVersion)
The cache engine version to return.

Example: 1.4.14

Returns a reference to this object so that method calls can be chained together.

Parameters:
engineVersion - The cache engine version to return.

Example: 1.4.14

Returns:
A reference to this updated object so that method calls can be chained together.

getCacheParameterGroupFamily

public String getCacheParameterGroupFamily()
The name of a specific Cache Parameter Group family to return details for.

Constraints:

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

setCacheParameterGroupFamily

public void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of a specific Cache Parameter Group family to return details for.

Constraints:

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

withCacheParameterGroupFamily

public DescribeCacheEngineVersionsRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of a specific Cache Parameter Group family to return details for.

Constraints:

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

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 may be retrieved.

Returns:
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 may be retrieved.

setMaxRecords

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 may be retrieved.

Parameters:
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 may be retrieved.

withMaxRecords

public DescribeCacheEngineVersionsRequest 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 may be retrieved.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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 may be retrieved.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
An optional marker provided in the previous DescribeCacheParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns:
An optional marker provided in the previous DescribeCacheParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

setMarker

public void setMarker(String marker)
An optional marker provided in the previous DescribeCacheParameterGroups request. 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 provided in the previous DescribeCacheParameterGroups request. 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 provided in the previous DescribeCacheParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - An optional marker provided in the previous DescribeCacheParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Returns:
A reference to this updated object so that method calls can be chained together.

isDefaultOnly

public Boolean isDefaultOnly()
Indicates that only the default version of the specified engine or engine and major version combination is returned.

Returns:
Indicates that only the default version of the specified engine or engine and major version combination is returned.

setDefaultOnly

public void setDefaultOnly(Boolean defaultOnly)
Indicates that only the default version of the specified engine or engine and major version combination is returned.

Parameters:
defaultOnly - Indicates that only the default version of the specified engine or engine and major version combination is returned.

withDefaultOnly

public DescribeCacheEngineVersionsRequest withDefaultOnly(Boolean defaultOnly)
Indicates that only the default version of the specified engine or engine and major version combination is returned.

Returns a reference to this object so that method calls can be chained together.

Parameters:
defaultOnly - Indicates that only the default version of the specified engine or engine and major version combination is returned.
Returns:
A reference to this updated object so that method calls can be chained together.

getDefaultOnly

public Boolean getDefaultOnly()
Indicates that only the default version of the specified engine or engine and major version combination is returned.

Returns:
Indicates that only the default version of the specified engine or engine and major version combination is returned.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.