com.pulumi.aws.sagemaker.outputs.NotebookInstanceInstanceMetadataServiceConfiguration 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.
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.sagemaker.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NotebookInstanceInstanceMetadataServiceConfiguration {
/**
* @return Indicates the minimum IMDS version that the notebook instance supports. When passed "1" is passed. This means that both IMDSv1 and IMDSv2 are supported. Valid values are `1` and `2`.
*
*/
private @Nullable String minimumInstanceMetadataServiceVersion;
private NotebookInstanceInstanceMetadataServiceConfiguration() {}
/**
* @return Indicates the minimum IMDS version that the notebook instance supports. When passed "1" is passed. This means that both IMDSv1 and IMDSv2 are supported. Valid values are `1` and `2`.
*
*/
public Optional minimumInstanceMetadataServiceVersion() {
return Optional.ofNullable(this.minimumInstanceMetadataServiceVersion);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NotebookInstanceInstanceMetadataServiceConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String minimumInstanceMetadataServiceVersion;
public Builder() {}
public Builder(NotebookInstanceInstanceMetadataServiceConfiguration defaults) {
Objects.requireNonNull(defaults);
this.minimumInstanceMetadataServiceVersion = defaults.minimumInstanceMetadataServiceVersion;
}
@CustomType.Setter
public Builder minimumInstanceMetadataServiceVersion(@Nullable String minimumInstanceMetadataServiceVersion) {
this.minimumInstanceMetadataServiceVersion = minimumInstanceMetadataServiceVersion;
return this;
}
public NotebookInstanceInstanceMetadataServiceConfiguration build() {
final var _resultValue = new NotebookInstanceInstanceMetadataServiceConfiguration();
_resultValue.minimumInstanceMetadataServiceVersion = minimumInstanceMetadataServiceVersion;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy