| Package | Description |
|---|---|
| software.amazon.awssdk.services.batch.model |
| Modifier and Type | Method and Description |
|---|---|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.allocationStrategy(CRUpdateAllocationStrategy allocationStrategy)
The allocation strategy to use for the compute resource if there's not enough instances of the best fitting
instance type that can be allocated.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.allocationStrategy(String allocationStrategy)
The allocation strategy to use for the compute resource if there's not enough instances of the best fitting
instance type that can be allocated.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.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 ComputeResourceUpdate.Builder |
ComputeResourceUpdate.builder() |
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.desiredvCpus(Integer desiredvCpus)
The desired number of vCPUS in the compute environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.ec2Configuration(Collection<Ec2Configuration> ec2Configuration)
Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute
environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.ec2Configuration(Consumer<Ec2Configuration.Builder>... ec2Configuration)
Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute
environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.ec2Configuration(Ec2Configuration... ec2Configuration)
Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute
environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.ec2KeyPair(String ec2KeyPair)
The Amazon EC2 key pair that's used for instances launched in the compute environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.imageId(String imageId)
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.instanceRole(String instanceRole)
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.instanceTypes(Collection<String> instanceTypes)
The instances types that can be launched.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.instanceTypes(String... instanceTypes)
The instances types that can be launched.
|
default ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
The updated launch template to use for your compute resources.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.launchTemplate(LaunchTemplateSpecification launchTemplate)
The updated launch template to use for your compute resources.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.maxvCpus(Integer maxvCpus)
The maximum number of Amazon EC2 vCPUs that an environment can reach.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.minvCpus(Integer minvCpus)
The minimum number of vCPUs that an environment should maintain (even if the compute environment is
DISABLED). |
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.placementGroup(String placementGroup)
The Amazon EC2 placement group to associate with your compute resources.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.securityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security groups that are associated with instances launched in the compute environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.securityGroupIds(String... securityGroupIds)
The Amazon EC2 security groups that are associated with instances launched in the compute environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.subnets(Collection<String> subnets)
The VPC subnets where the compute resources are launched.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.subnets(String... subnets)
The VPC subnets where the compute resources are launched.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.tags(Map<String,String> tags)
Key-value pair tags to be applied to EC2 resources that are launched in the compute environment.
|
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.toBuilder() |
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.type(CRType type)
The type of compute environment:
EC2, SPOT, FARGATE, or
FARGATE_SPOT. |
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.type(String type)
The type of compute environment:
EC2, SPOT, FARGATE, or
FARGATE_SPOT. |
ComputeResourceUpdate.Builder |
ComputeResourceUpdate.Builder.updateToLatestImageVersion(Boolean updateToLatestImageVersion)
Specifies whether the AMI ID is updated to the latest one that's supported by Batch when the compute
environment has an infrastructure update.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ComputeResourceUpdate.Builder> |
ComputeResourceUpdate.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default UpdateComputeEnvironmentRequest.Builder |
UpdateComputeEnvironmentRequest.Builder.computeResources(Consumer<ComputeResourceUpdate.Builder> computeResources)
Details of the compute resources managed by the compute environment.
|
Copyright © 2023. All rights reserved.