@Generated(value="software.amazon.awssdk:codegen") public final class DescribeInstanceCreditSpecificationsRequest extends Ec2Request implements ToCopyableBuilder<DescribeInstanceCreditSpecificationsRequest.Builder,DescribeInstanceCreditSpecificationsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeInstanceCreditSpecificationsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeInstanceCreditSpecificationsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
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 |
hasInstanceIds()
Returns true if the InstanceIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
instanceIds()
The instance IDs.
|
Integer |
maxResults()
The maximum number of results to return in a single call.
|
String |
nextToken()
The token to retrieve the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeInstanceCreditSpecificationsRequest.Builder> |
serializableBuilderClass() |
DescribeInstanceCreditSpecificationsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasFilters()
public List<Filter> filters()
The filters.
instance-id - The ID of the instance.
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.
instance-id - The ID of the instance.
public boolean hasInstanceIds()
public List<String> instanceIds()
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInstanceIds() to see if a value was sent in this field.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
public Integer maxResults()
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken value. This value can be between 5 and 1000. You cannot specify this
parameter and the instance IDs parameter in the same call.
NextToken value. This value can be between 5 and 1000. You cannot
specify this parameter and the instance IDs parameter in the same call.public String nextToken()
The token to retrieve the next page of results.
public DescribeInstanceCreditSpecificationsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeInstanceCreditSpecificationsRequest.Builder,DescribeInstanceCreditSpecificationsRequest>toBuilder in class Ec2Requestpublic static DescribeInstanceCreditSpecificationsRequest.Builder builder()
public static Class<? extends DescribeInstanceCreditSpecificationsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.