com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsRSessionAppSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.DomainDefaultUserSettingsRSessionAppSettingsCustomImage;
import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsRSessionAppSettingsDefaultResourceSpec;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DomainDefaultUserSettingsRSessionAppSettings {
/**
* @return A list of custom SageMaker images that are configured to run as a RSession app. see `custom_image` Block below.
*
*/
private @Nullable List customImages;
/**
* @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see `default_resource_spec` Block above.
*
*/
private @Nullable DomainDefaultUserSettingsRSessionAppSettingsDefaultResourceSpec defaultResourceSpec;
private DomainDefaultUserSettingsRSessionAppSettings() {}
/**
* @return A list of custom SageMaker images that are configured to run as a RSession app. see `custom_image` Block below.
*
*/
public List customImages() {
return this.customImages == null ? List.of() : this.customImages;
}
/**
* @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see `default_resource_spec` Block above.
*
*/
public Optional defaultResourceSpec() {
return Optional.ofNullable(this.defaultResourceSpec);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DomainDefaultUserSettingsRSessionAppSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List customImages;
private @Nullable DomainDefaultUserSettingsRSessionAppSettingsDefaultResourceSpec defaultResourceSpec;
public Builder() {}
public Builder(DomainDefaultUserSettingsRSessionAppSettings defaults) {
Objects.requireNonNull(defaults);
this.customImages = defaults.customImages;
this.defaultResourceSpec = defaults.defaultResourceSpec;
}
@CustomType.Setter
public Builder customImages(@Nullable List customImages) {
this.customImages = customImages;
return this;
}
public Builder customImages(DomainDefaultUserSettingsRSessionAppSettingsCustomImage... customImages) {
return customImages(List.of(customImages));
}
@CustomType.Setter
public Builder defaultResourceSpec(@Nullable DomainDefaultUserSettingsRSessionAppSettingsDefaultResourceSpec defaultResourceSpec) {
this.defaultResourceSpec = defaultResourceSpec;
return this;
}
public DomainDefaultUserSettingsRSessionAppSettings build() {
final var _resultValue = new DomainDefaultUserSettingsRSessionAppSettings();
_resultValue.customImages = customImages;
_resultValue.defaultResourceSpec = defaultResourceSpec;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy