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