Class ApplicationState.Builder

  • Enclosing class:
    ApplicationState

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

      • Builder

        public Builder()
    • Method Detail

      • architecture

        public ApplicationState.Builder architecture​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> architecture)
        Parameters:
        architecture - The CPU architecture of an application. Valid values are `ARM64` or `X86_64`. Default value is `X86_64`.
        Returns:
        builder
      • architecture

        public ApplicationState.Builder architecture​(java.lang.String architecture)
        Parameters:
        architecture - The CPU architecture of an application. Valid values are `ARM64` or `X86_64`. Default value is `X86_64`.
        Returns:
        builder
      • arn

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

        public ApplicationState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the cluster.
        Returns:
        builder
      • autoStartConfiguration

        public ApplicationState.Builder autoStartConfiguration​(@Nullable
                                                               com.pulumi.core.Output<ApplicationAutoStartConfigurationArgs> autoStartConfiguration)
        Parameters:
        autoStartConfiguration - The configuration for an application to automatically start on job submission.
        Returns:
        builder
      • autoStopConfiguration

        public ApplicationState.Builder autoStopConfiguration​(@Nullable
                                                              com.pulumi.core.Output<ApplicationAutoStopConfigurationArgs> autoStopConfiguration)
        Parameters:
        autoStopConfiguration - The configuration for an application to automatically stop after a certain amount of time being idle.
        Returns:
        builder
      • initialCapacities

        public ApplicationState.Builder initialCapacities​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<ApplicationInitialCapacityArgs>> initialCapacities)
        Parameters:
        initialCapacities - The capacity to initialize when the application is created.
        Returns:
        builder
      • interactiveConfiguration

        public ApplicationState.Builder interactiveConfiguration​(@Nullable
                                                                 com.pulumi.core.Output<ApplicationInteractiveConfigurationArgs> interactiveConfiguration)
        Parameters:
        interactiveConfiguration - Enables the interactive use cases to use when running an application.
        Returns:
        builder
      • maximumCapacity

        public ApplicationState.Builder maximumCapacity​(@Nullable
                                                        com.pulumi.core.Output<ApplicationMaximumCapacityArgs> maximumCapacity)
        Parameters:
        maximumCapacity - The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
        Returns:
        builder
      • maximumCapacity

        public ApplicationState.Builder maximumCapacity​(ApplicationMaximumCapacityArgs maximumCapacity)
        Parameters:
        maximumCapacity - The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
        Returns:
        builder
      • name

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

        public ApplicationState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the application.
        Returns:
        builder
      • region

        public ApplicationState.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 ApplicationState.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
      • releaseLabel

        public ApplicationState.Builder releaseLabel​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> releaseLabel)
        Parameters:
        releaseLabel - The EMR release version associated with the application.
        Returns:
        builder
      • releaseLabel

        public ApplicationState.Builder releaseLabel​(java.lang.String releaseLabel)
        Parameters:
        releaseLabel - The EMR release version associated with the application.
        Returns:
        builder
      • runtimeConfigurations

        public ApplicationState.Builder runtimeConfigurations​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<ApplicationRuntimeConfigurationArgs>> runtimeConfigurations)
        Parameters:
        runtimeConfigurations - A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
        Returns:
        builder
      • runtimeConfigurations

        public ApplicationState.Builder runtimeConfigurations​(java.util.List<ApplicationRuntimeConfigurationArgs> runtimeConfigurations)
        Parameters:
        runtimeConfigurations - A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
        Returns:
        builder
      • runtimeConfigurations

        public ApplicationState.Builder runtimeConfigurations​(ApplicationRuntimeConfigurationArgs... runtimeConfigurations)
        Parameters:
        runtimeConfigurations - A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
        Returns:
        builder
      • schedulerConfiguration

        public ApplicationState.Builder schedulerConfiguration​(@Nullable
                                                               com.pulumi.core.Output<ApplicationSchedulerConfigurationArgs> schedulerConfiguration)
        Parameters:
        schedulerConfiguration - Scheduler configuration for batch and streaming jobs running on this application. Supported with release labels `emr-7.0.0` and above. See schedulerConfiguration Arguments below.
        Returns:
        builder
      • schedulerConfiguration

        public ApplicationState.Builder schedulerConfiguration​(ApplicationSchedulerConfigurationArgs schedulerConfiguration)
        Parameters:
        schedulerConfiguration - Scheduler configuration for batch and streaming jobs running on this application. Supported with release labels `emr-7.0.0` and above. See schedulerConfiguration Arguments below.
        Returns:
        builder
      • tags

        public ApplicationState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value mapping of resource tags. 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 ApplicationState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value mapping of resource tags. 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 ApplicationState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ApplicationState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • type

        public ApplicationState.Builder type​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of application you want to start, such as `spark` or `hive`.
        Returns:
        builder
      • type

        public ApplicationState.Builder type​(java.lang.String type)
        Parameters:
        type - The type of application you want to start, such as `spark` or `hive`.
        Returns:
        builder