com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsJupyterServerAppSettings 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.aws.sagemaker.outputs.UserProfileUserSettingsJupyterServerAppSettingsCodeRepository;
import com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsJupyterServerAppSettingsDefaultResourceSpec;
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 UserProfileUserSettingsJupyterServerAppSettings {
/**
* @return A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. see Code Repository below.
*
*/
private @Nullable List codeRepositories;
/**
* @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see Default Resource Spec below.
*
*/
private @Nullable UserProfileUserSettingsJupyterServerAppSettingsDefaultResourceSpec defaultResourceSpec;
/**
* @return The Amazon Resource Name (ARN) of the Lifecycle Configurations.
*
*/
private @Nullable List lifecycleConfigArns;
private UserProfileUserSettingsJupyterServerAppSettings() {}
/**
* @return A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. see Code Repository below.
*
*/
public List codeRepositories() {
return this.codeRepositories == null ? List.of() : this.codeRepositories;
}
/**
* @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see Default Resource Spec below.
*
*/
public Optional defaultResourceSpec() {
return Optional.ofNullable(this.defaultResourceSpec);
}
/**
* @return The Amazon Resource Name (ARN) of the Lifecycle Configurations.
*
*/
public List lifecycleConfigArns() {
return this.lifecycleConfigArns == null ? List.of() : this.lifecycleConfigArns;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserProfileUserSettingsJupyterServerAppSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List codeRepositories;
private @Nullable UserProfileUserSettingsJupyterServerAppSettingsDefaultResourceSpec defaultResourceSpec;
private @Nullable List lifecycleConfigArns;
public Builder() {}
public Builder(UserProfileUserSettingsJupyterServerAppSettings defaults) {
Objects.requireNonNull(defaults);
this.codeRepositories = defaults.codeRepositories;
this.defaultResourceSpec = defaults.defaultResourceSpec;
this.lifecycleConfigArns = defaults.lifecycleConfigArns;
}
@CustomType.Setter
public Builder codeRepositories(@Nullable List codeRepositories) {
this.codeRepositories = codeRepositories;
return this;
}
public Builder codeRepositories(UserProfileUserSettingsJupyterServerAppSettingsCodeRepository... codeRepositories) {
return codeRepositories(List.of(codeRepositories));
}
@CustomType.Setter
public Builder defaultResourceSpec(@Nullable UserProfileUserSettingsJupyterServerAppSettingsDefaultResourceSpec defaultResourceSpec) {
this.defaultResourceSpec = defaultResourceSpec;
return this;
}
@CustomType.Setter
public Builder lifecycleConfigArns(@Nullable List lifecycleConfigArns) {
this.lifecycleConfigArns = lifecycleConfigArns;
return this;
}
public Builder lifecycleConfigArns(String... lifecycleConfigArns) {
return lifecycleConfigArns(List.of(lifecycleConfigArns));
}
public UserProfileUserSettingsJupyterServerAppSettings build() {
final var _resultValue = new UserProfileUserSettingsJupyterServerAppSettings();
_resultValue.codeRepositories = codeRepositories;
_resultValue.defaultResourceSpec = defaultResourceSpec;
_resultValue.lifecycleConfigArns = lifecycleConfigArns;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy