Class AppState.Builder

  • Enclosing class:
    AppState

    public static final class AppState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(AppState defaults)
    • Method Detail

      • appName

        public AppState.Builder appName​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> appName)
        Parameters:
        appName - The name of the app.
        Returns:
        builder
      • appName

        public AppState.Builder appName​(java.lang.String appName)
        Parameters:
        appName - The name of the app.
        Returns:
        builder
      • appType

        public AppState.Builder appType​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> appType)
        Parameters:
        appType - The type of app. Valid values are `JupyterServer`, `KernelGateway`, `RStudioServerPro`, `RSessionGateway`, `TensorBoard`, `CodeEditor`, `JupyterLab`, `DetailedProfiler`, and `Canvas`.
        Returns:
        builder
      • appType

        public AppState.Builder appType​(java.lang.String appType)
        Parameters:
        appType - The type of app. Valid values are `JupyterServer`, `KernelGateway`, `RStudioServerPro`, `RSessionGateway`, `TensorBoard`, `CodeEditor`, `JupyterLab`, `DetailedProfiler`, and `Canvas`.
        Returns:
        builder
      • arn

        public AppState.Builder arn​(@Nullable
                                    com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the app.
        Returns:
        builder
      • arn

        public AppState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the app.
        Returns:
        builder
      • domainId

        public AppState.Builder domainId​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> domainId)
        Parameters:
        domainId - The domain ID.
        Returns:
        builder
      • domainId

        public AppState.Builder domainId​(java.lang.String domainId)
        Parameters:
        domainId - The domain ID.
        Returns:
        builder
      • region

        public AppState.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 AppState.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
      • resourceSpec

        public AppState.Builder resourceSpec​(@Nullable
                                             com.pulumi.core.Output<AppResourceSpecArgs> resourceSpec)
        Parameters:
        resourceSpec - Instance type and the ARN of the SageMaker AI image created on the instance. See Resource Spec below.
        Returns:
        builder
      • resourceSpec

        public AppState.Builder resourceSpec​(AppResourceSpecArgs resourceSpec)
        Parameters:
        resourceSpec - Instance type and the ARN of the SageMaker AI image created on the instance. See Resource Spec below.
        Returns:
        builder
      • spaceName

        public AppState.Builder spaceName​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> spaceName)
        Parameters:
        spaceName - The name of the space. At least one of `userProfileName` or `spaceName` required.
        Returns:
        builder
      • spaceName

        public AppState.Builder spaceName​(java.lang.String spaceName)
        Parameters:
        spaceName - The name of the space. At least one of `userProfileName` or `spaceName` required.
        Returns:
        builder
      • tags

        public AppState.Builder tags​(@Nullable
                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map 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 AppState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map 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 AppState.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 AppState.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
      • userProfileName

        public AppState.Builder userProfileName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> userProfileName)
        Parameters:
        userProfileName - The user profile name. At least one of `userProfileName` or `spaceName` required.
        Returns:
        builder
      • userProfileName

        public AppState.Builder userProfileName​(java.lang.String userProfileName)
        Parameters:
        userProfileName - The user profile name. At least one of `userProfileName` or `spaceName` required.
        Returns:
        builder