Interface InstanceRequirementsRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceRequirementsRequest.Builder,,InstanceRequirementsRequest> SdkBuilder<InstanceRequirementsRequest.Builder,,InstanceRequirementsRequest> SdkPojo
- Enclosing class:
InstanceRequirementsRequest
@Mutable
@NotThreadSafe
public static interface InstanceRequirementsRequest.Builder
extends SdkPojo, CopyableBuilder<InstanceRequirementsRequest.Builder,InstanceRequirementsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionallowedInstanceTypes(String... allowedInstanceTypes) A list of specific instance types or instance families that Amazon ECS can launch (for example,m5.largeorg5).allowedInstanceTypes(Collection<String> allowedInstanceTypes) A list of specific instance types or instance families that Amazon ECS can launch (for example,m5.largeorg5).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
allowedInstanceTypes
A list of specific instance types or instance families that Amazon ECS can launch (for example,
m5.largeorg5). When specified, only these instance types are used.- Parameters:
allowedInstanceTypes- A list of specific instance types or instance families that Amazon ECS can launch (for example,m5.largeorg5). When specified, only these instance types are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedInstanceTypes
A list of specific instance types or instance families that Amazon ECS can launch (for example,
m5.largeorg5). When specified, only these instance types are used.- Parameters:
allowedInstanceTypes- A list of specific instance types or instance families that Amazon ECS can launch (for example,m5.largeorg5). When specified, only these instance types are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-