@Generated(value="software.amazon.awssdk:codegen") public final class DescribeInstanceTypesRequest extends Ec2Request implements ToCopyableBuilder<DescribeInstanceTypesRequest.Builder,DescribeInstanceTypesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeInstanceTypesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeInstanceTypesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Filter> |
filters()
One or more 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 |
hasInstanceTypes()
Returns true if the InstanceTypes 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<InstanceType> |
instanceTypes()
The instance types.
|
List<String> |
instanceTypesAsStrings()
The instance types.
|
Integer |
maxResults()
The maximum number of results to return for the request in a single page.
|
String |
nextToken()
The token to retrieve the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeInstanceTypesRequest.Builder> |
serializableBuilderClass() |
DescribeInstanceTypesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<InstanceType> instanceTypes()
The instance types. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInstanceTypes() to see if a value was sent in this field.
public boolean hasInstanceTypes()
public List<String> instanceTypesAsStrings()
The instance types. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInstanceTypes() to see if a value was sent in this field.
public boolean hasFilters()
public List<Filter> filters()
One or more filters. Filter names and values are case-sensitive.
auto-recovery-supported - Indicates whether auto recovery is supported. (true |
false)
bare-metal - Indicates whether it is a bare metal instance type. (true |
false)
burstable-performance-supported - Indicates whether it is a burstable performance instance type. (
true | false)
current-generation - Indicates whether this instance type is the latest generation instance type of
an instance family. (true | false)
ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline bandwidth performance for an
EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline throughput performance for an
EBS-optimized instance type, in MBps.
ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage operations per second
for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth performance for an
EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum throughput performance for an
EBS-optimized instance type, in MBps.
ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage operations per second
for an EBS-optimized instance type.
ebs-info.ebs-optimized-support - Indicates whether the instance type is EBS-optimized. (
supported | unsupported | default)
ebs-info.encryption-support - Indicates whether EBS encryption is supported. (supported
| unsupported)
free-tier-eligible - Indicates whether the instance type is eligible to use in the free tier. (
true | false)
hibernation-supported - Indicates whether On-Demand hibernation is supported. (true |
false)
hypervisor - The hypervisor used. (nitro | xen)
instance-storage-info.disk.count - The number of local disks.
instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in GB.
instance-storage-info.disk.type - The storage technology for the local instance storage disks. (
hdd | ssd)
instance-storage-info.total-size-in-gb - The total amount of storage available from all local
instance storage, in GB.
instance-storage-supported - Indicates whether the instance type has local instance storage. (
true | false)
memory-info.size-in-mib - The memory size.
network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is supported or required.
(required | supported | unsupported)
network-info.efa-supported - Indicates whether the instance type supports Elastic Fabric Adapter
(EFA). (true | false)
network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per network
interface.
network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per network
interface.
network-info.ipv6-supported - Indicates whether the instance type supports IPv6. (true
| false)
network-info.maximum-network-interfaces - The maximum number of network interfaces per instance.
network-info.network-performance - Describes the network performance.
processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.
vcpu-info.default-cores - The default number of cores for the instance type.
vcpu-info.default-threads-per-core - The default number of threads per core for the instance type.
vcpu-info.default-vcpus - The default number of vCPUs for the instance type.
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.
auto-recovery-supported - Indicates whether auto recovery is supported. (true |
false)
bare-metal - Indicates whether it is a bare metal instance type. (true |
false)
burstable-performance-supported - Indicates whether it is a burstable performance instance
type. (true | false)
current-generation - Indicates whether this instance type is the latest generation instance
type of an instance family. (true | false)
ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline bandwidth performance
for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline throughput
performance for an EBS-optimized instance type, in MBps.
ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage operations per
second for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth performance
for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum throughput performance
for an EBS-optimized instance type, in MBps.
ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage operations per
second for an EBS-optimized instance type.
ebs-info.ebs-optimized-support - Indicates whether the instance type is EBS-optimized. (
supported | unsupported | default)
ebs-info.encryption-support - Indicates whether EBS encryption is supported. (
supported | unsupported)
free-tier-eligible - Indicates whether the instance type is eligible to use in the free
tier. (true | false)
hibernation-supported - Indicates whether On-Demand hibernation is supported. (
true | false)
hypervisor - The hypervisor used. (nitro | xen)
instance-storage-info.disk.count - The number of local disks.
instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in
GB.
instance-storage-info.disk.type - The storage technology for the local instance storage
disks. (hdd | ssd)
instance-storage-info.total-size-in-gb - The total amount of storage available from all
local instance storage, in GB.
instance-storage-supported - Indicates whether the instance type has local instance storage.
(true | false)
memory-info.size-in-mib - The memory size.
network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is supported or
required. (required | supported | unsupported)
network-info.efa-supported - Indicates whether the instance type supports Elastic Fabric
Adapter (EFA). (true | false)
network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per
network interface.
network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per
network interface.
network-info.ipv6-supported - Indicates whether the instance type supports IPv6. (
true | false)
network-info.maximum-network-interfaces - The maximum number of network interfaces per
instance.
network-info.network-performance - Describes the network performance.
processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.
vcpu-info.default-cores - The default number of cores for the instance type.
vcpu-info.default-threads-per-core - The default number of threads per core for the instance
type.
vcpu-info.default-vcpus - The default number of vCPUs for the instance type.
public Integer maxResults()
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the next token value.
public String nextToken()
The token to retrieve the next page of results.
public DescribeInstanceTypesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeInstanceTypesRequest.Builder,DescribeInstanceTypesRequest>toBuilder in class Ec2Requestpublic static DescribeInstanceTypesRequest.Builder builder()
public static Class<? extends DescribeInstanceTypesRequest.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.