
com.pulumi.aws.batch.inputs.ComputeEnvironmentEksConfigurationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.batch.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ComputeEnvironmentEksConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final ComputeEnvironmentEksConfigurationArgs Empty = new ComputeEnvironmentEksConfigurationArgs();
/**
* The Amazon Resource Name (ARN) of the Amazon EKS cluster.
*
*/
@Import(name="eksClusterArn", required=true)
private Output eksClusterArn;
/**
* @return The Amazon Resource Name (ARN) of the Amazon EKS cluster.
*
*/
public Output eksClusterArn() {
return this.eksClusterArn;
}
/**
* The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
*
*/
@Import(name="kubernetesNamespace", required=true)
private Output kubernetesNamespace;
/**
* @return The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
*
*/
public Output kubernetesNamespace() {
return this.kubernetesNamespace;
}
private ComputeEnvironmentEksConfigurationArgs() {}
private ComputeEnvironmentEksConfigurationArgs(ComputeEnvironmentEksConfigurationArgs $) {
this.eksClusterArn = $.eksClusterArn;
this.kubernetesNamespace = $.kubernetesNamespace;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ComputeEnvironmentEksConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ComputeEnvironmentEksConfigurationArgs $;
public Builder() {
$ = new ComputeEnvironmentEksConfigurationArgs();
}
public Builder(ComputeEnvironmentEksConfigurationArgs defaults) {
$ = new ComputeEnvironmentEksConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param eksClusterArn The Amazon Resource Name (ARN) of the Amazon EKS cluster.
*
* @return builder
*
*/
public Builder eksClusterArn(Output eksClusterArn) {
$.eksClusterArn = eksClusterArn;
return this;
}
/**
* @param eksClusterArn The Amazon Resource Name (ARN) of the Amazon EKS cluster.
*
* @return builder
*
*/
public Builder eksClusterArn(String eksClusterArn) {
return eksClusterArn(Output.of(eksClusterArn));
}
/**
* @param kubernetesNamespace The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
*
* @return builder
*
*/
public Builder kubernetesNamespace(Output kubernetesNamespace) {
$.kubernetesNamespace = kubernetesNamespace;
return this;
}
/**
* @param kubernetesNamespace The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
*
* @return builder
*
*/
public Builder kubernetesNamespace(String kubernetesNamespace) {
return kubernetesNamespace(Output.of(kubernetesNamespace));
}
public ComputeEnvironmentEksConfigurationArgs build() {
if ($.eksClusterArn == null) {
throw new MissingRequiredPropertyException("ComputeEnvironmentEksConfigurationArgs", "eksClusterArn");
}
if ($.kubernetesNamespace == null) {
throw new MissingRequiredPropertyException("ComputeEnvironmentEksConfigurationArgs", "kubernetesNamespace");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy