Package com.pulumi.aws.sagemaker.inputs
Class NotebookInstanceLifecycleConfigurationState.Builder
- java.lang.Object
-
- com.pulumi.aws.sagemaker.inputs.NotebookInstanceLifecycleConfigurationState.Builder
-
- Enclosing class:
- NotebookInstanceLifecycleConfigurationState
public static final class NotebookInstanceLifecycleConfigurationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(NotebookInstanceLifecycleConfigurationState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NotebookInstanceLifecycleConfigurationState defaults)
-
-
Method Detail
-
arn
public NotebookInstanceLifecycleConfigurationState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN assigned by AWS to this lifecycle configuration.- Returns:
- builder
-
arn
public NotebookInstanceLifecycleConfigurationState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN assigned by AWS to this lifecycle configuration.- Returns:
- builder
-
name
public NotebookInstanceLifecycleConfigurationState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.- Returns:
- builder
-
name
public NotebookInstanceLifecycleConfigurationState.Builder name(java.lang.String name)
- Parameters:
name- The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.- Returns:
- builder
-
onCreate
public NotebookInstanceLifecycleConfigurationState.Builder onCreate(@Nullable com.pulumi.core.Output<java.lang.String> onCreate)
- Parameters:
onCreate- A shell script (base64-encoded) that runs only once when the SageMaker AI Notebook Instance is created.- Returns:
- builder
-
onCreate
public NotebookInstanceLifecycleConfigurationState.Builder onCreate(java.lang.String onCreate)
- Parameters:
onCreate- A shell script (base64-encoded) that runs only once when the SageMaker AI Notebook Instance is created.- Returns:
- builder
-
onStart
public NotebookInstanceLifecycleConfigurationState.Builder onStart(@Nullable com.pulumi.core.Output<java.lang.String> onStart)
- Parameters:
onStart- A shell script (base64-encoded) that runs every time the SageMaker AI Notebook Instance is started including the time it's created.- Returns:
- builder
-
onStart
public NotebookInstanceLifecycleConfigurationState.Builder onStart(java.lang.String onStart)
- Parameters:
onStart- A shell script (base64-encoded) that runs every time the SageMaker AI Notebook Instance is started including the time it's created.- Returns:
- builder
-
region
public NotebookInstanceLifecycleConfigurationState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public NotebookInstanceLifecycleConfigurationState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tags
public NotebookInstanceLifecycleConfigurationState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public NotebookInstanceLifecycleConfigurationState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A mapping of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public NotebookInstanceLifecycleConfigurationState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public NotebookInstanceLifecycleConfigurationState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public NotebookInstanceLifecycleConfigurationState build()
-
-