Interface GetInstanceTypesFromInstanceRequirementsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInstanceTypesFromInstanceRequirementsResponse.Builder,GetInstanceTypesFromInstanceRequirementsResponse>,Ec2Response.Builder,SdkBuilder<GetInstanceTypesFromInstanceRequirementsResponse.Builder,GetInstanceTypesFromInstanceRequirementsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetInstanceTypesFromInstanceRequirementsResponse
public static interface GetInstanceTypesFromInstanceRequirementsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetInstanceTypesFromInstanceRequirementsResponse.Builder,GetInstanceTypesFromInstanceRequirementsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetInstanceTypesFromInstanceRequirementsResponse.BuilderinstanceTypes(Collection<InstanceTypeInfoFromInstanceRequirements> instanceTypes)The instance types with the specified instance attributes.GetInstanceTypesFromInstanceRequirementsResponse.BuilderinstanceTypes(Consumer<InstanceTypeInfoFromInstanceRequirements.Builder>... instanceTypes)The instance types with the specified instance attributes.GetInstanceTypesFromInstanceRequirementsResponse.BuilderinstanceTypes(InstanceTypeInfoFromInstanceRequirements... instanceTypes)The instance types with the specified instance attributes.GetInstanceTypesFromInstanceRequirementsResponse.BuildernextToken(String nextToken)The token to include in another request to get the next page of items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
instanceTypes
GetInstanceTypesFromInstanceRequirementsResponse.Builder instanceTypes(Collection<InstanceTypeInfoFromInstanceRequirements> instanceTypes)
The instance types with the specified instance attributes.
- Parameters:
instanceTypes- The instance types with the specified instance attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
GetInstanceTypesFromInstanceRequirementsResponse.Builder instanceTypes(InstanceTypeInfoFromInstanceRequirements... instanceTypes)
The instance types with the specified instance attributes.
- Parameters:
instanceTypes- The instance types with the specified instance attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
GetInstanceTypesFromInstanceRequirementsResponse.Builder instanceTypes(Consumer<InstanceTypeInfoFromInstanceRequirements.Builder>... instanceTypes)
The instance types with the specified instance attributes.
This is a convenience method that creates an instance of theInstanceTypeInfoFromInstanceRequirements.Builderavoiding the need to create one manually viaInstanceTypeInfoFromInstanceRequirements.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceTypes(List.) - Parameters:
instanceTypes- a consumer that will call methods onInstanceTypeInfoFromInstanceRequirements.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceTypes(java.util.Collection)
-
nextToken
GetInstanceTypesFromInstanceRequirementsResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
nullwhen there are no more items to return.- Parameters:
nextToken- The token to include in another request to get the next page of items. This value isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-