@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceTypesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeInstanceTypesRequest>
NOOP| Constructor and Description |
|---|
DescribeInstanceTypesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeInstanceTypesRequest |
clone() |
boolean |
equals(Object obj) |
Request<DescribeInstanceTypesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
List<String> |
getInstanceTypes()
The instance types.
|
Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
String |
getNextToken()
The token to retrieve the next page of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setInstanceTypes(Collection<String> instanceTypes)
The instance types.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setNextToken(String nextToken)
The token to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceTypesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeInstanceTypesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeInstanceTypesRequest |
withInstanceTypes(Collection<String> instanceTypes)
The instance types.
|
DescribeInstanceTypesRequest |
withInstanceTypes(InstanceType... instanceTypes)
The instance types.
|
DescribeInstanceTypesRequest |
withInstanceTypes(String... instanceTypes)
The instance types.
|
DescribeInstanceTypesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
DescribeInstanceTypesRequest |
withNextToken(String nextToken)
The token to retrieve the next page of results.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<String> getInstanceTypes()
The instance types. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
InstanceTypepublic void setInstanceTypes(Collection<String> instanceTypes)
The instance types. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceTypes - The instance types. For more information, see Instance Types in the
Amazon Elastic Compute Cloud User Guide.InstanceTypepublic DescribeInstanceTypesRequest withInstanceTypes(String... instanceTypes)
The instance types. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTypes(java.util.Collection) or withInstanceTypes(java.util.Collection) if you want
to override the existing values.
instanceTypes - The instance types. For more information, see Instance Types in the
Amazon Elastic Compute Cloud User Guide.InstanceTypepublic DescribeInstanceTypesRequest withInstanceTypes(Collection<String> instanceTypes)
The instance types. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceTypes - The instance types. For more information, see Instance Types in the
Amazon Elastic Compute Cloud User Guide.InstanceTypepublic DescribeInstanceTypesRequest withInstanceTypes(InstanceType... instanceTypes)
The instance types. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceTypes - The instance types. For more information, see Instance Types in the
Amazon Elastic Compute Cloud User Guide.InstanceTypepublic List<Filter> getFilters()
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-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.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.
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-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.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 void setFilters(Collection<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-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.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.
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-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.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 DescribeInstanceTypesRequest withFilters(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-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.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.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
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-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.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 DescribeInstanceTypesRequest withFilters(Collection<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-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.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.
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-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.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 void setMaxResults(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.
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 Integer getMaxResults()
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 DescribeInstanceTypesRequest withMaxResults(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.
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 void setNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken - The token to retrieve the next page of results.public String getNextToken()
The token to retrieve the next page of results.
public DescribeInstanceTypesRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken - The token to retrieve the next page of results.public Request<DescribeInstanceTypesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeInstanceTypesRequest>public String toString()
toString in class ObjectObject.toString()public DescribeInstanceTypesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.