@Generated(value="software.amazon.awssdk:codegen") public final class DescribeSavingsPlansRequest extends SavingsplansRequest implements ToCopyableBuilder<DescribeSavingsPlansRequest.Builder,DescribeSavingsPlansRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeSavingsPlansRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeSavingsPlansRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<SavingsPlanFilter> |
filters()
The filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSavingsPlanArns()
Returns true if the SavingsPlanArns property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSavingsPlanIds()
Returns true if the SavingsPlanIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasStates()
Returns true if the States property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Integer |
maxResults()
The maximum number of results to return with a single call.
|
String |
nextToken()
The token for the next page of results.
|
List<String> |
savingsPlanArns()
The Amazon Resource Names (ARN) of the Savings Plans.
|
List<String> |
savingsPlanIds()
The IDs of the Savings Plans.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeSavingsPlansRequest.Builder> |
serializableBuilderClass() |
List<SavingsPlanState> |
states()
The states.
|
List<String> |
statesAsStrings()
The states.
|
DescribeSavingsPlansRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasSavingsPlanArns()
public final List<String> savingsPlanArns()
The Amazon Resource Names (ARN) of the Savings Plans.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSavingsPlanArns() to see if a value was sent in this field.
public final boolean hasSavingsPlanIds()
public final List<String> savingsPlanIds()
The IDs of the Savings Plans.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSavingsPlanIds() to see if a value was sent in this field.
public final String nextToken()
The token for the next page of results.
public final Integer maxResults()
The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
public final List<SavingsPlanState> states()
The states.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStates() to see if a value was sent in this field.
public final boolean hasStates()
public final List<String> statesAsStrings()
The states.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStates() to see if a value was sent in this field.
public final boolean hasFilters()
public final List<SavingsPlanFilter> filters()
The filters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
public DescribeSavingsPlansRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeSavingsPlansRequest.Builder,DescribeSavingsPlansRequest>toBuilder in class SavingsplansRequestpublic static DescribeSavingsPlansRequest.Builder builder()
public static Class<? extends DescribeSavingsPlansRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.