com.pulumi.aws.sagemaker.outputs.AppImageConfigJupyterLabImageConfigContainerConfig 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.sagemaker.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class AppImageConfigJupyterLabImageConfigContainerConfig {
/**
* @return The arguments for the container when you're running the application.
*
*/
private @Nullable List containerArguments;
/**
* @return The entrypoint used to run the application in the container.
*
*/
private @Nullable List containerEntrypoints;
/**
* @return The environment variables to set in the container.
*
*/
private @Nullable Map containerEnvironmentVariables;
private AppImageConfigJupyterLabImageConfigContainerConfig() {}
/**
* @return The arguments for the container when you're running the application.
*
*/
public List containerArguments() {
return this.containerArguments == null ? List.of() : this.containerArguments;
}
/**
* @return The entrypoint used to run the application in the container.
*
*/
public List containerEntrypoints() {
return this.containerEntrypoints == null ? List.of() : this.containerEntrypoints;
}
/**
* @return The environment variables to set in the container.
*
*/
public Map containerEnvironmentVariables() {
return this.containerEnvironmentVariables == null ? Map.of() : this.containerEnvironmentVariables;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppImageConfigJupyterLabImageConfigContainerConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List containerArguments;
private @Nullable List containerEntrypoints;
private @Nullable Map containerEnvironmentVariables;
public Builder() {}
public Builder(AppImageConfigJupyterLabImageConfigContainerConfig defaults) {
Objects.requireNonNull(defaults);
this.containerArguments = defaults.containerArguments;
this.containerEntrypoints = defaults.containerEntrypoints;
this.containerEnvironmentVariables = defaults.containerEnvironmentVariables;
}
@CustomType.Setter
public Builder containerArguments(@Nullable List containerArguments) {
this.containerArguments = containerArguments;
return this;
}
public Builder containerArguments(String... containerArguments) {
return containerArguments(List.of(containerArguments));
}
@CustomType.Setter
public Builder containerEntrypoints(@Nullable List containerEntrypoints) {
this.containerEntrypoints = containerEntrypoints;
return this;
}
public Builder containerEntrypoints(String... containerEntrypoints) {
return containerEntrypoints(List.of(containerEntrypoints));
}
@CustomType.Setter
public Builder containerEnvironmentVariables(@Nullable Map containerEnvironmentVariables) {
this.containerEnvironmentVariables = containerEnvironmentVariables;
return this;
}
public AppImageConfigJupyterLabImageConfigContainerConfig build() {
final var _resultValue = new AppImageConfigJupyterLabImageConfigContainerConfig();
_resultValue.containerArguments = containerArguments;
_resultValue.containerEntrypoints = containerEntrypoints;
_resultValue.containerEnvironmentVariables = containerEnvironmentVariables;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy