| Package | Description |
|---|---|
| com.amazonaws.services.batch.model |
| Modifier and Type | Method and Description |
|---|---|
ComputeResourceUpdate |
ComputeResourceUpdate.addTagsEntry(String key,
String value)
Add a single Tags entry
|
ComputeResourceUpdate |
ComputeResourceUpdate.clearTagsEntries()
Removes all the entries added into Tags.
|
ComputeResourceUpdate |
ComputeResourceUpdate.clone() |
ComputeResourceUpdate |
UpdateComputeEnvironmentRequest.getComputeResources()
Details of the compute resources managed by the compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withAllocationStrategy(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 |
ComputeResourceUpdate.withAllocationStrategy(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 |
ComputeResourceUpdate.withBidPercentage(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.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withDesiredvCpus(Integer desiredvCpus)
The desired number of vCPUS in the compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withEc2Configuration(Collection<Ec2Configuration> ec2Configuration)
Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute
environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withEc2Configuration(Ec2Configuration... ec2Configuration)
Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute
environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withEc2KeyPair(String ec2KeyPair)
The Amazon EC2 key pair that's used for instances launched in the compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withImageId(String imageId)
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withInstanceRole(String instanceRole)
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withInstanceTypes(Collection<String> instanceTypes)
The instances types that can be launched.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withInstanceTypes(String... instanceTypes)
The instances types that can be launched.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withLaunchTemplate(LaunchTemplateSpecification launchTemplate)
The updated launch template to use for your compute resources.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withMaxvCpus(Integer maxvCpus)
The maximum number of Amazon EC2 vCPUs that an environment can reach.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withMinvCpus(Integer minvCpus)
The minimum number of vCPUs that an environment should maintain (even if the compute environment is
DISABLED). |
ComputeResourceUpdate |
ComputeResourceUpdate.withPlacementGroup(String placementGroup)
The Amazon EC2 placement group to associate with your compute resources.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withSecurityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security groups that are associated with instances launched in the compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withSecurityGroupIds(String... securityGroupIds)
The Amazon EC2 security groups that are associated with instances launched in the compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withSubnets(Collection<String> subnets)
The VPC subnets where the compute resources are launched.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withSubnets(String... subnets)
The VPC subnets where the compute resources are launched.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withTags(Map<String,String> tags)
Key-value pair tags to be applied to Amazon EC2 resources that are launched in the compute environment.
|
ComputeResourceUpdate |
ComputeResourceUpdate.withType(CRType type)
The type of compute environment:
EC2, SPOT, FARGATE, or
FARGATE_SPOT. |
ComputeResourceUpdate |
ComputeResourceUpdate.withType(String type)
The type of compute environment:
EC2, SPOT, FARGATE, or
FARGATE_SPOT. |
ComputeResourceUpdate |
ComputeResourceUpdate.withUpdateToLatestImageVersion(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 |
|---|---|
void |
UpdateComputeEnvironmentRequest.setComputeResources(ComputeResourceUpdate computeResources)
Details of the compute resources managed by the compute environment.
|
UpdateComputeEnvironmentRequest |
UpdateComputeEnvironmentRequest.withComputeResources(ComputeResourceUpdate computeResources)
Details of the compute resources managed by the compute environment.
|
Copyright © 2025. All rights reserved.