| Package | Description |
|---|---|
| software.amazon.awssdk.services.batch.model |
| Modifier and Type | Method and Description |
|---|---|
ComputeResource.Builder |
ComputeResource.Builder.allocationStrategy(CRAllocationStrategy allocationStrategy)
The allocation strategy to use for the compute resource if not enough instances of the best fitting instance
type can be allocated.
|
ComputeResource.Builder |
ComputeResource.Builder.allocationStrategy(String allocationStrategy)
The allocation strategy to use for the compute resource if not enough instances of the best fitting instance
type can be allocated.
|
ComputeResource.Builder |
ComputeResource.Builder.bidPercentage(Integer bidPercentage)
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that
instance type before instances are launched.
|
static ComputeResource.Builder |
ComputeResource.builder() |
ComputeResource.Builder |
ComputeResource.Builder.desiredvCpus(Integer desiredvCpus)
The desired number of vCPUS in the compute environment.
|
ComputeResource.Builder |
ComputeResource.Builder.ec2Configuration(Collection<Ec2Configuration> ec2Configuration)
Provides information that's used to select Amazon Machine Images (AMIs) for EC2 instances in the compute
environment.
|
ComputeResource.Builder |
ComputeResource.Builder.ec2Configuration(Consumer<Ec2Configuration.Builder>... ec2Configuration)
Provides information that's used to select Amazon Machine Images (AMIs) for EC2 instances in the compute
environment.
|
ComputeResource.Builder |
ComputeResource.Builder.ec2Configuration(Ec2Configuration... ec2Configuration)
Provides information that's used to select Amazon Machine Images (AMIs) for EC2 instances in the compute
environment.
|
ComputeResource.Builder |
ComputeResource.Builder.ec2KeyPair(String ec2KeyPair)
The Amazon EC2 key pair that's used for instances launched in the compute environment.
|
ComputeResource.Builder |
ComputeResource.Builder.imageId(String imageId)
Deprecated.
This field is deprecated, use ec2Configuration[].imageIdOverride instead.
|
ComputeResource.Builder |
ComputeResource.Builder.instanceRole(String instanceRole)
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment.
|
ComputeResource.Builder |
ComputeResource.Builder.instanceTypes(Collection<String> instanceTypes)
The instances types that can be launched.
|
ComputeResource.Builder |
ComputeResource.Builder.instanceTypes(String... instanceTypes)
The instances types that can be launched.
|
default ComputeResource.Builder |
ComputeResource.Builder.launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
The launch template to use for your compute resources.
|
ComputeResource.Builder |
ComputeResource.Builder.launchTemplate(LaunchTemplateSpecification launchTemplate)
The launch template to use for your compute resources.
|
ComputeResource.Builder |
ComputeResource.Builder.maxvCpus(Integer maxvCpus)
The maximum number of vCPUs that a compute environment can support.
|
ComputeResource.Builder |
ComputeResource.Builder.minvCpus(Integer minvCpus)
The minimum number of vCPUs that a compute environment should maintain (even if the compute environment is
DISABLED). |
ComputeResource.Builder |
ComputeResource.Builder.placementGroup(String placementGroup)
The Amazon EC2 placement group to associate with your compute resources.
|
ComputeResource.Builder |
ComputeResource.Builder.securityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security groups that are associated with instances launched in the compute environment.
|
ComputeResource.Builder |
ComputeResource.Builder.securityGroupIds(String... securityGroupIds)
The Amazon EC2 security groups that are associated with instances launched in the compute environment.
|
ComputeResource.Builder |
ComputeResource.Builder.spotIamFleetRole(String spotIamFleetRole)
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a
SPOT compute
environment. |
ComputeResource.Builder |
ComputeResource.Builder.subnets(Collection<String> subnets)
The VPC subnets where the compute resources are launched.
|
ComputeResource.Builder |
ComputeResource.Builder.subnets(String... subnets)
The VPC subnets where the compute resources are launched.
|
ComputeResource.Builder |
ComputeResource.Builder.tags(Map<String,String> tags)
Key-value pair tags to be applied to EC2 resources that are launched in the compute environment.
|
ComputeResource.Builder |
ComputeResource.toBuilder() |
ComputeResource.Builder |
ComputeResource.Builder.type(CRType type)
The type of compute environment:
EC2, SPOT, FARGATE, or
FARGATE_SPOT. |
ComputeResource.Builder |
ComputeResource.Builder.type(String type)
The type of compute environment:
EC2, SPOT, FARGATE, or
FARGATE_SPOT. |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ComputeResource.Builder> |
ComputeResource.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default ComputeEnvironmentDetail.Builder |
ComputeEnvironmentDetail.Builder.computeResources(Consumer<ComputeResource.Builder> computeResources)
The compute resources defined for the compute environment.
|
default CreateComputeEnvironmentRequest.Builder |
CreateComputeEnvironmentRequest.Builder.computeResources(Consumer<ComputeResource.Builder> computeResources)
Details about the compute resources managed by the compute environment.
|
Copyright © 2023. All rights reserved.