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

com.pulumi.azurenative.awsconnector.outputs.ImageConfigResponse 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.azurenative.awsconnector.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ImageConfigResponse {
    /**
     * @return Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
     * 
     */
    private @Nullable List command;
    /**
     * @return Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
     * 
     */
    private @Nullable List entryPoint;
    /**
     * @return Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
     * 
     */
    private @Nullable String workingDirectory;

    private ImageConfigResponse() {}
    /**
     * @return Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
     * 
     */
    public List command() {
        return this.command == null ? List.of() : this.command;
    }
    /**
     * @return Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
     * 
     */
    public List entryPoint() {
        return this.entryPoint == null ? List.of() : this.entryPoint;
    }
    /**
     * @return Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
     * 
     */
    public Optional workingDirectory() {
        return Optional.ofNullable(this.workingDirectory);
    }

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

    public static Builder builder(ImageConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List command;
        private @Nullable List entryPoint;
        private @Nullable String workingDirectory;
        public Builder() {}
        public Builder(ImageConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.command = defaults.command;
    	      this.entryPoint = defaults.entryPoint;
    	      this.workingDirectory = defaults.workingDirectory;
        }

        @CustomType.Setter
        public Builder command(@Nullable List command) {

            this.command = command;
            return this;
        }
        public Builder command(String... command) {
            return command(List.of(command));
        }
        @CustomType.Setter
        public Builder entryPoint(@Nullable List entryPoint) {

            this.entryPoint = entryPoint;
            return this;
        }
        public Builder entryPoint(String... entryPoint) {
            return entryPoint(List.of(entryPoint));
        }
        @CustomType.Setter
        public Builder workingDirectory(@Nullable String workingDirectory) {

            this.workingDirectory = workingDirectory;
            return this;
        }
        public ImageConfigResponse build() {
            final var _resultValue = new ImageConfigResponse();
            _resultValue.command = command;
            _resultValue.entryPoint = entryPoint;
            _resultValue.workingDirectory = workingDirectory;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy