@Generated(value="software.amazon.awssdk:codegen") public final class DescribeCacheEngineVersionsRequest extends ElastiCacheRequest implements ToCopyableBuilder<DescribeCacheEngineVersionsRequest.Builder,DescribeCacheEngineVersionsRequest>
Represents the input of a DescribeCacheEngineVersions
operation.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeCacheEngineVersionsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeCacheEngineVersionsRequest.Builder |
builder() |
String |
cacheParameterGroupFamily()
The name of a specific cache parameter group family to return details for.
|
Boolean |
defaultOnly()
If
true , specifies that only the default version of the specified engine or engine and major version
combination is to be returned. |
String |
engine()
The cache engine to return.
|
String |
engineVersion()
The cache engine version to return.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
marker()
An optional marker returned from a prior request.
|
Integer |
maxRecords()
The maximum number of records to include in the response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeCacheEngineVersionsRequest.Builder> |
serializableBuilderClass() |
DescribeCacheEngineVersionsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final String engine()
The cache engine to return. Valid values: memcached
| redis
memcached
| redis
public final String engineVersion()
The cache engine version to return.
Example: 1.4.14
Example: 1.4.14
public final String cacheParameterGroupFamily()
The name of a specific cache parameter group family to return details for.
Valid values are: memcached1.4
| memcached1.5
| memcached1.6
|
redis2.6
| redis2.8
| redis3.2
| redis4.0
|
redis5.0
| redis6.x
|
Constraints:
Must be 1 to 255 alphanumeric characters
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Valid values are: memcached1.4
| memcached1.5
| memcached1.6
|
redis2.6
| redis2.8
| redis3.2
| redis4.0
|
redis5.0
| redis6.x
|
Constraints:
Must be 1 to 255 alphanumeric characters
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
public final 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: 100
Constraints: minimum 20; maximum 100.
MaxRecords
value, a marker is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
public final 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
.
MaxRecords
.public final Boolean defaultOnly()
If true
, specifies that only the default version of the specified engine or engine and major version
combination is to be returned.
true
, specifies that only the default version of the specified engine or engine and major
version combination is to be returned.public DescribeCacheEngineVersionsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeCacheEngineVersionsRequest.Builder,DescribeCacheEngineVersionsRequest>
toBuilder
in class ElastiCacheRequest
public static DescribeCacheEngineVersionsRequest.Builder builder()
public static Class<? extends DescribeCacheEngineVersionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.