All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs Maven / Gradle / Ivy

// *** 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 java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs extends com.pulumi.resources.ResourceArgs {

    public static final JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs Empty = new JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs();

    @Import(name="privileged")
    private @Nullable Output privileged;

    public Optional> privileged() {
        return Optional.ofNullable(this.privileged);
    }

    @Import(name="readOnlyRootFileSystem")
    private @Nullable Output readOnlyRootFileSystem;

    public Optional> readOnlyRootFileSystem() {
        return Optional.ofNullable(this.readOnlyRootFileSystem);
    }

    @Import(name="runAsGroup")
    private @Nullable Output runAsGroup;

    public Optional> runAsGroup() {
        return Optional.ofNullable(this.runAsGroup);
    }

    @Import(name="runAsNonRoot")
    private @Nullable Output runAsNonRoot;

    public Optional> runAsNonRoot() {
        return Optional.ofNullable(this.runAsNonRoot);
    }

    @Import(name="runAsUser")
    private @Nullable Output runAsUser;

    public Optional> runAsUser() {
        return Optional.ofNullable(this.runAsUser);
    }

    private JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs() {}

    private JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs(JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs $) {
        this.privileged = $.privileged;
        this.readOnlyRootFileSystem = $.readOnlyRootFileSystem;
        this.runAsGroup = $.runAsGroup;
        this.runAsNonRoot = $.runAsNonRoot;
        this.runAsUser = $.runAsUser;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs $;

        public Builder() {
            $ = new JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs();
        }

        public Builder(JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs defaults) {
            $ = new JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs(Objects.requireNonNull(defaults));
        }

        public Builder privileged(@Nullable Output privileged) {
            $.privileged = privileged;
            return this;
        }

        public Builder privileged(Boolean privileged) {
            return privileged(Output.of(privileged));
        }

        public Builder readOnlyRootFileSystem(@Nullable Output readOnlyRootFileSystem) {
            $.readOnlyRootFileSystem = readOnlyRootFileSystem;
            return this;
        }

        public Builder readOnlyRootFileSystem(Boolean readOnlyRootFileSystem) {
            return readOnlyRootFileSystem(Output.of(readOnlyRootFileSystem));
        }

        public Builder runAsGroup(@Nullable Output runAsGroup) {
            $.runAsGroup = runAsGroup;
            return this;
        }

        public Builder runAsGroup(Integer runAsGroup) {
            return runAsGroup(Output.of(runAsGroup));
        }

        public Builder runAsNonRoot(@Nullable Output runAsNonRoot) {
            $.runAsNonRoot = runAsNonRoot;
            return this;
        }

        public Builder runAsNonRoot(Boolean runAsNonRoot) {
            return runAsNonRoot(Output.of(runAsNonRoot));
        }

        public Builder runAsUser(@Nullable Output runAsUser) {
            $.runAsUser = runAsUser;
            return this;
        }

        public Builder runAsUser(Integer runAsUser) {
            return runAsUser(Output.of(runAsUser));
        }

        public JobDefinitionEksPropertiesPodPropertiesInitContainerSecurityContextArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy