Package com.pulumi.aws.batch
Class ComputeEnvironmentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.ComputeEnvironmentArgs.Builder
-
- Enclosing class:
- ComputeEnvironmentArgs
public static final class ComputeEnvironmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ComputeEnvironmentArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ComputeEnvironmentArgs defaults)
-
-
Method Detail
-
computeResources
public ComputeEnvironmentArgs.Builder computeResources(@Nullable com.pulumi.core.Output<ComputeEnvironmentComputeResourcesArgs> computeResources)
- Parameters:
computeResources- Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.- Returns:
- builder
-
computeResources
public ComputeEnvironmentArgs.Builder computeResources(ComputeEnvironmentComputeResourcesArgs computeResources)
- Parameters:
computeResources- Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.- Returns:
- builder
-
eksConfiguration
public ComputeEnvironmentArgs.Builder eksConfiguration(@Nullable com.pulumi.core.Output<ComputeEnvironmentEksConfigurationArgs> eksConfiguration)
- Parameters:
eksConfiguration- Details for the Amazon EKS cluster that supports the compute environment. See details below.- Returns:
- builder
-
eksConfiguration
public ComputeEnvironmentArgs.Builder eksConfiguration(ComputeEnvironmentEksConfigurationArgs eksConfiguration)
- Parameters:
eksConfiguration- Details for the Amazon EKS cluster that supports the compute environment. See details below.- Returns:
- builder
-
name
public ComputeEnvironmentArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name.- Returns:
- builder
-
name
public ComputeEnvironmentArgs.Builder name(java.lang.String name)
- Parameters:
name- Name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name.- Returns:
- builder
-
namePrefix
public ComputeEnvironmentArgs.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix- Creates a unique compute environment name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
namePrefix
public ComputeEnvironmentArgs.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix- Creates a unique compute environment name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
region
public ComputeEnvironmentArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ComputeEnvironmentArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
serviceRole
public ComputeEnvironmentArgs.Builder serviceRole(@Nullable com.pulumi.core.Output<java.lang.String> serviceRole)
- Parameters:
serviceRole- Full ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.- Returns:
- builder
-
serviceRole
public ComputeEnvironmentArgs.Builder serviceRole(java.lang.String serviceRole)
- Parameters:
serviceRole- Full ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.- Returns:
- builder
-
state
public ComputeEnvironmentArgs.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state- State of the compute environment. If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are `ENABLED` or `DISABLED`. Defaults to `ENABLED`.- Returns:
- builder
-
state
public ComputeEnvironmentArgs.Builder state(java.lang.String state)
- Parameters:
state- State of the compute environment. If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are `ENABLED` or `DISABLED`. Defaults to `ENABLED`.- Returns:
- builder
-
tags
public ComputeEnvironmentArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ComputeEnvironmentArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
type
public ComputeEnvironmentArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- Type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`.- Returns:
- builder
-
type
public ComputeEnvironmentArgs.Builder type(java.lang.String type)
- Parameters:
type- Type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`.- Returns:
- builder
-
updatePolicy
public ComputeEnvironmentArgs.Builder updatePolicy(@Nullable com.pulumi.core.Output<ComputeEnvironmentUpdatePolicyArgs> updatePolicy)
- Parameters:
updatePolicy- Infrastructure update policy for the compute environment. See details below.- Returns:
- builder
-
updatePolicy
public ComputeEnvironmentArgs.Builder updatePolicy(ComputeEnvironmentUpdatePolicyArgs updatePolicy)
- Parameters:
updatePolicy- Infrastructure update policy for the compute environment. See details below.- Returns:
- builder
-
build
public ComputeEnvironmentArgs build()
-
-