Class DescribeReservedNodesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.memorydb.model.MemoryDbRequest
-
- software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeReservedNodesRequest.Builder,DescribeReservedNodesRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeReservedNodesRequest extends MemoryDbRequest implements ToCopyableBuilder<DescribeReservedNodesRequest.Builder,DescribeReservedNodesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeReservedNodesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeReservedNodesRequest.Builderbuilder()Stringduration()The duration filter value, specified in years or seconds.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of records to include in the response.StringnextToken()An optional marker returned from a prior request.StringnodeType()The node type filter value.StringofferingType()The offering type filter value.StringreservationId()The reserved node identifier filter value.StringreservedNodesOfferingId()The offering identifier filter value.List<SdkField<?>>sdkFields()static Class<? extends DescribeReservedNodesRequest.Builder>serializableBuilderClass()DescribeReservedNodesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
reservationId
public final String reservationId()
The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
- Returns:
- The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
-
reservedNodesOfferingId
public final String reservedNodesOfferingId()
The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
- Returns:
- The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
-
nodeType
public final String nodeType()
The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
- Returns:
- The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
-
duration
public final String duration()
The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
- Returns:
- The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
-
offeringType
public final String offeringType()
The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
- Returns:
- The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
-
maxResults
public final Integer maxResults()
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.
- 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 can be retrieved.
-
nextToken
public final String nextToken()
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.
- Returns:
- 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.
-
toBuilder
public DescribeReservedNodesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeReservedNodesRequest.Builder,DescribeReservedNodesRequest>- Specified by:
toBuilderin classMemoryDbRequest
-
builder
public static DescribeReservedNodesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeReservedNodesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-