Interface ListOrderableInstanceTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOrderableInstanceTypesResponse.Builder,,ListOrderableInstanceTypesResponse> OutpostsResponse.Builder,SdkBuilder<ListOrderableInstanceTypesResponse.Builder,,ListOrderableInstanceTypesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListOrderableInstanceTypesResponse
@Mutable
@NotThreadSafe
public static interface ListOrderableInstanceTypesResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListOrderableInstanceTypesResponse.Builder,ListOrderableInstanceTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceTypes(Collection<DetailedInstanceTypeItem> instanceTypes) Information about the instance types that can be ordered for the Outpost.instanceTypes(Consumer<DetailedInstanceTypeItem.Builder>... instanceTypes) Information about the instance types that can be ordered for the Outpost.instanceTypes(DetailedInstanceTypeItem... instanceTypes) Information about the instance types that can be ordered for the Outpost.The pagination token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceTypes
ListOrderableInstanceTypesResponse.Builder instanceTypes(Collection<DetailedInstanceTypeItem> instanceTypes) Information about the instance types that can be ordered for the Outpost.
- Parameters:
instanceTypes- Information about the instance types that can be ordered for the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
Information about the instance types that can be ordered for the Outpost.
- Parameters:
instanceTypes- Information about the instance types that can be ordered for the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
ListOrderableInstanceTypesResponse.Builder instanceTypes(Consumer<DetailedInstanceTypeItem.Builder>... instanceTypes) Information about the instance types that can be ordered for the Outpost.
This is a convenience method that creates an instance of theDetailedInstanceTypeItem.Builderavoiding the need to create one manually viaDetailedInstanceTypeItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceTypes(List<DetailedInstanceTypeItem>).- Parameters:
instanceTypes- a consumer that will call methods onDetailedInstanceTypeItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-