Interface InstanceRequirements.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceRequirements.Builder,,InstanceRequirements> SdkBuilder<InstanceRequirements.Builder,,InstanceRequirements> SdkPojo
- Enclosing class:
InstanceRequirements
-
Method Summary
Modifier and TypeMethodDescriptionallowedInstanceTypes(String... allowedInstanceTypes) A list of EC2 instance types that the capacity provider is allowed to use.allowedInstanceTypes(Collection<String> allowedInstanceTypes) A list of EC2 instance types that the capacity provider is allowed to use.architectures(Collection<Architecture> architectures) A list of supported CPU architectures for compute instances.architectures(Architecture... architectures) A list of supported CPU architectures for compute instances.architecturesWithStrings(String... architectures) A list of supported CPU architectures for compute instances.architecturesWithStrings(Collection<String> architectures) A list of supported CPU architectures for compute instances.excludedInstanceTypes(String... excludedInstanceTypes) A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.excludedInstanceTypes(Collection<String> excludedInstanceTypes) A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.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
-
architecturesWithStrings
A list of supported CPU architectures for compute instances. Valid values include
x86_64andarm64.- Parameters:
architectures- A list of supported CPU architectures for compute instances. Valid values includex86_64andarm64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecturesWithStrings
A list of supported CPU architectures for compute instances. Valid values include
x86_64andarm64.- Parameters:
architectures- A list of supported CPU architectures for compute instances. Valid values includex86_64andarm64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architectures
A list of supported CPU architectures for compute instances. Valid values include
x86_64andarm64.- Parameters:
architectures- A list of supported CPU architectures for compute instances. Valid values includex86_64andarm64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architectures
A list of supported CPU architectures for compute instances. Valid values include
x86_64andarm64.- Parameters:
architectures- A list of supported CPU architectures for compute instances. Valid values includex86_64andarm64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedInstanceTypes
A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.
- Parameters:
allowedInstanceTypes- A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedInstanceTypes
A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.
- Parameters:
allowedInstanceTypes- A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedInstanceTypes
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.
- Parameters:
excludedInstanceTypes- A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedInstanceTypes
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.
- Parameters:
excludedInstanceTypes- A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-