Interface InstanceRequirements.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceRequirements.Builder,InstanceRequirements>,SdkBuilder<InstanceRequirements.Builder,InstanceRequirements>,SdkPojo
- Enclosing class:
- InstanceRequirements
@Mutable @NotThreadSafe public static interface InstanceRequirements.Builder extends SdkPojo, CopyableBuilder<InstanceRequirements.Builder,InstanceRequirements>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceRequirements.BuilderallowedInstanceTypes(String... allowedInstanceTypes)A list of EC2 instance types that the capacity provider is allowed to use.InstanceRequirements.BuilderallowedInstanceTypes(Collection<String> allowedInstanceTypes)A list of EC2 instance types that the capacity provider is allowed to use.InstanceRequirements.Builderarchitectures(Collection<Architecture> architectures)A list of supported CPU architectures for compute instances.InstanceRequirements.Builderarchitectures(Architecture... architectures)A list of supported CPU architectures for compute instances.InstanceRequirements.BuilderarchitecturesWithStrings(String... architectures)A list of supported CPU architectures for compute instances.InstanceRequirements.BuilderarchitecturesWithStrings(Collection<String> architectures)A list of supported CPU architectures for compute instances.InstanceRequirements.BuilderexcludedInstanceTypes(String... excludedInstanceTypes)A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.InstanceRequirements.BuilderexcludedInstanceTypes(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
architecturesWithStrings
InstanceRequirements.Builder architecturesWithStrings(Collection<String> 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.
-
architecturesWithStrings
InstanceRequirements.Builder architecturesWithStrings(String... 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
InstanceRequirements.Builder architectures(Collection<Architecture> 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
InstanceRequirements.Builder architectures(Architecture... 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
InstanceRequirements.Builder allowedInstanceTypes(Collection<String> 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
InstanceRequirements.Builder allowedInstanceTypes(String... 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
InstanceRequirements.Builder excludedInstanceTypes(Collection<String> 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
InstanceRequirements.Builder excludedInstanceTypes(String... 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.
-
-