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

com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeSecret Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetJobDefinitionEksPropertyPodPropertyVolumeSecret {
    /**
     * @return Specifies whether the secret or the secret's keys must be defined.
     * 
     */
    private Boolean optional;
    /**
     * @return The name of the secret. The name must be allowed as a DNS subdomain name
     * 
     */
    private String secretName;

    private GetJobDefinitionEksPropertyPodPropertyVolumeSecret() {}
    /**
     * @return Specifies whether the secret or the secret's keys must be defined.
     * 
     */
    public Boolean optional() {
        return this.optional;
    }
    /**
     * @return The name of the secret. The name must be allowed as a DNS subdomain name
     * 
     */
    public String secretName() {
        return this.secretName;
    }

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

    public static Builder builder(GetJobDefinitionEksPropertyPodPropertyVolumeSecret defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean optional;
        private String secretName;
        public Builder() {}
        public Builder(GetJobDefinitionEksPropertyPodPropertyVolumeSecret defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.optional = defaults.optional;
    	      this.secretName = defaults.secretName;
        }

        @CustomType.Setter
        public Builder optional(Boolean optional) {
            if (optional == null) {
              throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolumeSecret", "optional");
            }
            this.optional = optional;
            return this;
        }
        @CustomType.Setter
        public Builder secretName(String secretName) {
            if (secretName == null) {
              throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolumeSecret", "secretName");
            }
            this.secretName = secretName;
            return this;
        }
        public GetJobDefinitionEksPropertyPodPropertyVolumeSecret build() {
            final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyVolumeSecret();
            _resultValue.optional = optional;
            _resultValue.secretName = secretName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy