public static interface DescribeInstanceTypesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceTypesResponse.Builder,DescribeInstanceTypesResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeInstanceTypesResponse.Builder |
instanceTypes(Collection<InstanceTypeInfo> instanceTypes)
The instance type.
|
DescribeInstanceTypesResponse.Builder |
instanceTypes(Consumer<InstanceTypeInfo.Builder>... instanceTypes)
The instance type.
|
DescribeInstanceTypesResponse.Builder |
instanceTypes(InstanceTypeInfo... instanceTypes)
The instance type.
|
DescribeInstanceTypesResponse.Builder |
nextToken(String nextToken)
The token to include in another request to get the next page of items.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeInstanceTypesResponse.Builder instanceTypes(Collection<InstanceTypeInfo> instanceTypes)
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
instanceTypes - The instance type. For more information, see Instance types in
the Amazon EC2 User Guide.DescribeInstanceTypesResponse.Builder instanceTypes(InstanceTypeInfo... instanceTypes)
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
instanceTypes - The instance type. For more information, see Instance types in
the Amazon EC2 User Guide.DescribeInstanceTypesResponse.Builder instanceTypes(Consumer<InstanceTypeInfo.Builder>... instanceTypes)
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
This is a convenience method that creates an instance of theInstanceTypeInfo.Builder avoiding the need to create one
manually via InstanceTypeInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #instanceTypes(List.
instanceTypes - a consumer that will call methods on
InstanceTypeInfo.Builder#instanceTypes(java.util.Collection) DescribeInstanceTypesResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null when
there are no more items to return.
nextToken - The token to include in another request to get the next page of items. This value is null
when there are no more items to return.Copyright © 2023. All rights reserved.