public static interface ComputeResourceUpdate.Builder extends SdkPojo, CopyableBuilder<ComputeResourceUpdate.Builder,ComputeResourceUpdate>
| Modifier and Type | Method and Description |
|---|---|
ComputeResourceUpdate.Builder |
desiredvCpus(Integer desiredvCpus)
The desired number of Amazon EC2 vCPUS in the compute environment.
|
ComputeResourceUpdate.Builder |
maxvCpus(Integer maxvCpus)
The maximum number of Amazon EC2 vCPUs that an environment can reach.
|
ComputeResourceUpdate.Builder |
minvCpus(Integer minvCpus)
The minimum number of Amazon EC2 vCPUs that an environment should maintain.
|
ComputeResourceUpdate.Builder |
securityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security groups associated with instances launched in the compute environment.
|
ComputeResourceUpdate.Builder |
securityGroupIds(String... securityGroupIds)
The Amazon EC2 security groups associated with instances launched in the compute environment.
|
ComputeResourceUpdate.Builder |
subnets(Collection<String> subnets)
The VPC subnets that the compute resources are launched into.
|
ComputeResourceUpdate.Builder |
subnets(String... subnets)
The VPC subnets that the compute resources are launched into.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComputeResourceUpdate.Builder minvCpus(Integer minvCpus)
The minimum number of Amazon EC2 vCPUs that an environment should maintain.
This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
minvCpus - The minimum number of Amazon EC2 vCPUs that an environment should maintain. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
ComputeResourceUpdate.Builder maxvCpus(Integer maxvCpus)
The maximum number of Amazon EC2 vCPUs that an environment can reach.
With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies,
AWS Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, AWS
Batch never exceeds maxvCpus by more than a single instance. That is, no more than a single
instance from among those specified in your compute environment.
maxvCpus - The maximum number of Amazon EC2 vCPUs that an environment can reach.
With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation
strategies, AWS Batch might need to exceed maxvCpus to meet your capacity requirements.
In this event, AWS Batch never exceeds maxvCpus by more than a single instance. That is,
no more than a single instance from among those specified in your compute environment.
ComputeResourceUpdate.Builder desiredvCpus(Integer desiredvCpus)
The desired number of Amazon EC2 vCPUS in the compute environment.
This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
desiredvCpus - The desired number of Amazon EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
ComputeResourceUpdate.Builder subnets(Collection<String> subnets)
The VPC subnets that the compute resources are launched into. Fargate compute resources can contain up to 16 subnets. Providing an empty list will be handled as if this parameter wasn't specified and no change is made. This can't be specified for EC2 compute resources. For more information, see VPCs and Subnets in the Amazon VPC User Guide.
subnets - The VPC subnets that the compute resources are launched into. Fargate compute resources can contain up
to 16 subnets. Providing an empty list will be handled as if this parameter wasn't specified and no
change is made. This can't be specified for EC2 compute resources. For more information, see VPCs and Subnets in the
Amazon VPC User Guide.ComputeResourceUpdate.Builder subnets(String... subnets)
The VPC subnets that the compute resources are launched into. Fargate compute resources can contain up to 16 subnets. Providing an empty list will be handled as if this parameter wasn't specified and no change is made. This can't be specified for EC2 compute resources. For more information, see VPCs and Subnets in the Amazon VPC User Guide.
subnets - The VPC subnets that the compute resources are launched into. Fargate compute resources can contain up
to 16 subnets. Providing an empty list will be handled as if this parameter wasn't specified and no
change is made. This can't be specified for EC2 compute resources. For more information, see VPCs and Subnets in the
Amazon VPC User Guide.ComputeResourceUpdate.Builder securityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security groups associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. This can't be specified for EC2 compute resources. Providing an empty list is handled as if this parameter wasn't specified and no change is made.
securityGroupIds - The Amazon EC2 security groups associated with instances launched in the compute environment. This
parameter is required for Fargate compute resources, where it can contain up to 5 security groups.
This can't be specified for EC2 compute resources. Providing an empty list is handled as if this
parameter wasn't specified and no change is made.ComputeResourceUpdate.Builder securityGroupIds(String... securityGroupIds)
The Amazon EC2 security groups associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. This can't be specified for EC2 compute resources. Providing an empty list is handled as if this parameter wasn't specified and no change is made.
securityGroupIds - The Amazon EC2 security groups associated with instances launched in the compute environment. This
parameter is required for Fargate compute resources, where it can contain up to 5 security groups.
This can't be specified for EC2 compute resources. Providing an empty list is handled as if this
parameter wasn't specified and no change is made.Copyright © 2021. All rights reserved.