Class JavaAppLayerArgs.Builder

  • Enclosing class:
    JavaAppLayerArgs

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

      • Builder

        public Builder()
    • Method Detail

      • appServer

        public JavaAppLayerArgs.Builder appServer​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> appServer)
        Parameters:
        appServer - Keyword for the application container to use. Defaults to "tomcat".
        Returns:
        builder
      • appServer

        public JavaAppLayerArgs.Builder appServer​(java.lang.String appServer)
        Parameters:
        appServer - Keyword for the application container to use. Defaults to "tomcat".
        Returns:
        builder
      • appServerVersion

        public JavaAppLayerArgs.Builder appServerVersion​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> appServerVersion)
        Parameters:
        appServerVersion - Version of the selected application container to use. Defaults to "7".
        Returns:
        builder
      • appServerVersion

        public JavaAppLayerArgs.Builder appServerVersion​(java.lang.String appServerVersion)
        Parameters:
        appServerVersion - Version of the selected application container to use. Defaults to "7".
        Returns:
        builder
      • autoAssignElasticIps

        public JavaAppLayerArgs.Builder autoAssignElasticIps​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> autoAssignElasticIps)
        Parameters:
        autoAssignElasticIps - Whether to automatically assign an elastic IP address to the layer's instances.
        Returns:
        builder
      • autoAssignElasticIps

        public JavaAppLayerArgs.Builder autoAssignElasticIps​(java.lang.Boolean autoAssignElasticIps)
        Parameters:
        autoAssignElasticIps - Whether to automatically assign an elastic IP address to the layer's instances.
        Returns:
        builder
      • autoAssignPublicIps

        public JavaAppLayerArgs.Builder autoAssignPublicIps​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> autoAssignPublicIps)
        Parameters:
        autoAssignPublicIps - For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer's instances.
        Returns:
        builder
      • autoAssignPublicIps

        public JavaAppLayerArgs.Builder autoAssignPublicIps​(java.lang.Boolean autoAssignPublicIps)
        Parameters:
        autoAssignPublicIps - For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer's instances.
        Returns:
        builder
      • autoHealing

        public JavaAppLayerArgs.Builder autoHealing​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> autoHealing)
        Parameters:
        autoHealing - Whether to enable auto-healing for the layer.
        Returns:
        builder
      • autoHealing

        public JavaAppLayerArgs.Builder autoHealing​(java.lang.Boolean autoHealing)
        Parameters:
        autoHealing - Whether to enable auto-healing for the layer.
        Returns:
        builder
      • customConfigureRecipes

        public JavaAppLayerArgs.Builder customConfigureRecipes​(@Nullable
                                                               com.pulumi.core.Output<java.util.List<java.lang.String>> customConfigureRecipes)
      • customConfigureRecipes

        public JavaAppLayerArgs.Builder customConfigureRecipes​(java.util.List<java.lang.String> customConfigureRecipes)
      • customConfigureRecipes

        public JavaAppLayerArgs.Builder customConfigureRecipes​(java.lang.String... customConfigureRecipes)
      • customDeployRecipes

        public JavaAppLayerArgs.Builder customDeployRecipes​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> customDeployRecipes)
      • customDeployRecipes

        public JavaAppLayerArgs.Builder customDeployRecipes​(java.util.List<java.lang.String> customDeployRecipes)
      • customDeployRecipes

        public JavaAppLayerArgs.Builder customDeployRecipes​(java.lang.String... customDeployRecipes)
      • customInstanceProfileArn

        public JavaAppLayerArgs.Builder customInstanceProfileArn​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> customInstanceProfileArn)
        Parameters:
        customInstanceProfileArn - The ARN of an IAM profile that will be used for the layer's instances.
        Returns:
        builder
      • customInstanceProfileArn

        public JavaAppLayerArgs.Builder customInstanceProfileArn​(java.lang.String customInstanceProfileArn)
        Parameters:
        customInstanceProfileArn - The ARN of an IAM profile that will be used for the layer's instances.
        Returns:
        builder
      • customJson

        public JavaAppLayerArgs.Builder customJson​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> customJson)
        Parameters:
        customJson - Custom JSON attributes to apply to the layer.
        Returns:
        builder
      • customJson

        public JavaAppLayerArgs.Builder customJson​(java.lang.String customJson)
        Parameters:
        customJson - Custom JSON attributes to apply to the layer.
        Returns:
        builder
      • customSecurityGroupIds

        public JavaAppLayerArgs.Builder customSecurityGroupIds​(@Nullable
                                                               com.pulumi.core.Output<java.util.List<java.lang.String>> customSecurityGroupIds)
        Parameters:
        customSecurityGroupIds - Ids for a set of security groups to apply to the layer's instances.
        Returns:
        builder
      • customSecurityGroupIds

        public JavaAppLayerArgs.Builder customSecurityGroupIds​(java.util.List<java.lang.String> customSecurityGroupIds)
        Parameters:
        customSecurityGroupIds - Ids for a set of security groups to apply to the layer's instances.
        Returns:
        builder
      • customSecurityGroupIds

        public JavaAppLayerArgs.Builder customSecurityGroupIds​(java.lang.String... customSecurityGroupIds)
        Parameters:
        customSecurityGroupIds - Ids for a set of security groups to apply to the layer's instances.
        Returns:
        builder
      • customSetupRecipes

        public JavaAppLayerArgs.Builder customSetupRecipes​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> customSetupRecipes)
      • customSetupRecipes

        public JavaAppLayerArgs.Builder customSetupRecipes​(java.util.List<java.lang.String> customSetupRecipes)
      • customShutdownRecipes

        public JavaAppLayerArgs.Builder customShutdownRecipes​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> customShutdownRecipes)
      • customShutdownRecipes

        public JavaAppLayerArgs.Builder customShutdownRecipes​(java.util.List<java.lang.String> customShutdownRecipes)
      • customShutdownRecipes

        public JavaAppLayerArgs.Builder customShutdownRecipes​(java.lang.String... customShutdownRecipes)
      • customUndeployRecipes

        public JavaAppLayerArgs.Builder customUndeployRecipes​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> customUndeployRecipes)
      • customUndeployRecipes

        public JavaAppLayerArgs.Builder customUndeployRecipes​(java.util.List<java.lang.String> customUndeployRecipes)
      • customUndeployRecipes

        public JavaAppLayerArgs.Builder customUndeployRecipes​(java.lang.String... customUndeployRecipes)
      • drainElbOnShutdown

        public JavaAppLayerArgs.Builder drainElbOnShutdown​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> drainElbOnShutdown)
        Parameters:
        drainElbOnShutdown - Whether to enable Elastic Load Balancing connection draining.
        Returns:
        builder
      • drainElbOnShutdown

        public JavaAppLayerArgs.Builder drainElbOnShutdown​(java.lang.Boolean drainElbOnShutdown)
        Parameters:
        drainElbOnShutdown - Whether to enable Elastic Load Balancing connection draining.
        Returns:
        builder
      • ebsVolumes

        public JavaAppLayerArgs.Builder ebsVolumes​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<JavaAppLayerEbsVolumeArgs>> ebsVolumes)
        Parameters:
        ebsVolumes - `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.
        Returns:
        builder
      • ebsVolumes

        public JavaAppLayerArgs.Builder ebsVolumes​(java.util.List<JavaAppLayerEbsVolumeArgs> ebsVolumes)
        Parameters:
        ebsVolumes - `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.
        Returns:
        builder
      • ebsVolumes

        public JavaAppLayerArgs.Builder ebsVolumes​(JavaAppLayerEbsVolumeArgs... ebsVolumes)
        Parameters:
        ebsVolumes - `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.
        Returns:
        builder
      • elasticLoadBalancer

        public JavaAppLayerArgs.Builder elasticLoadBalancer​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> elasticLoadBalancer)
        Parameters:
        elasticLoadBalancer - Name of an Elastic Load Balancer to attach to this layer
        Returns:
        builder
      • elasticLoadBalancer

        public JavaAppLayerArgs.Builder elasticLoadBalancer​(java.lang.String elasticLoadBalancer)
        Parameters:
        elasticLoadBalancer - Name of an Elastic Load Balancer to attach to this layer
        Returns:
        builder
      • installUpdatesOnBoot

        public JavaAppLayerArgs.Builder installUpdatesOnBoot​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> installUpdatesOnBoot)
        Parameters:
        installUpdatesOnBoot - Whether to install OS and package updates on each instance when it boots.
        Returns:
        builder
      • installUpdatesOnBoot

        public JavaAppLayerArgs.Builder installUpdatesOnBoot​(java.lang.Boolean installUpdatesOnBoot)
        Parameters:
        installUpdatesOnBoot - Whether to install OS and package updates on each instance when it boots.
        Returns:
        builder
      • instanceShutdownTimeout

        public JavaAppLayerArgs.Builder instanceShutdownTimeout​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> instanceShutdownTimeout)
        Parameters:
        instanceShutdownTimeout - The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
        Returns:
        builder
      • instanceShutdownTimeout

        public JavaAppLayerArgs.Builder instanceShutdownTimeout​(java.lang.Integer instanceShutdownTimeout)
        Parameters:
        instanceShutdownTimeout - The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
        Returns:
        builder
      • jvmOptions

        public JavaAppLayerArgs.Builder jvmOptions​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> jvmOptions)
        Parameters:
        jvmOptions - Options to set for the JVM.
        Returns:
        builder
      • jvmOptions

        public JavaAppLayerArgs.Builder jvmOptions​(java.lang.String jvmOptions)
        Parameters:
        jvmOptions - Options to set for the JVM.
        Returns:
        builder
      • jvmType

        public JavaAppLayerArgs.Builder jvmType​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> jvmType)
        Parameters:
        jvmType - Keyword for the type of JVM to use. Defaults to `openjdk`.
        Returns:
        builder
      • jvmType

        public JavaAppLayerArgs.Builder jvmType​(java.lang.String jvmType)
        Parameters:
        jvmType - Keyword for the type of JVM to use. Defaults to `openjdk`.
        Returns:
        builder
      • jvmVersion

        public JavaAppLayerArgs.Builder jvmVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> jvmVersion)
        Parameters:
        jvmVersion - Version of JVM to use. Defaults to "7".
        Returns:
        builder
      • jvmVersion

        public JavaAppLayerArgs.Builder jvmVersion​(java.lang.String jvmVersion)
        Parameters:
        jvmVersion - Version of JVM to use. Defaults to "7".
        Returns:
        builder
      • name

        public JavaAppLayerArgs.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A human-readable name for the layer.
        Returns:
        builder
      • name

        public JavaAppLayerArgs.Builder name​(java.lang.String name)
        Parameters:
        name - A human-readable name for the layer.
        Returns:
        builder
      • stackId

        public JavaAppLayerArgs.Builder stackId​(com.pulumi.core.Output<java.lang.String> stackId)
        Parameters:
        stackId - ID of the stack the layer will belong to.
        Returns:
        builder
      • stackId

        public JavaAppLayerArgs.Builder stackId​(java.lang.String stackId)
        Parameters:
        stackId - ID of the stack the layer will belong to.
        Returns:
        builder
      • systemPackages

        public JavaAppLayerArgs.Builder systemPackages​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> systemPackages)
        Parameters:
        systemPackages - Names of a set of system packages to install on the layer's instances.
        Returns:
        builder
      • systemPackages

        public JavaAppLayerArgs.Builder systemPackages​(java.util.List<java.lang.String> systemPackages)
        Parameters:
        systemPackages - Names of a set of system packages to install on the layer's instances.
        Returns:
        builder
      • systemPackages

        public JavaAppLayerArgs.Builder systemPackages​(java.lang.String... systemPackages)
        Parameters:
        systemPackages - Names of a set of system packages to install on the layer's instances.
        Returns:
        builder
      • tags

        public JavaAppLayerArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack:
        Returns:
        builder
      • tags

        public JavaAppLayerArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack:
        Returns:
        builder
      • useEbsOptimizedInstances

        public JavaAppLayerArgs.Builder useEbsOptimizedInstances​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> useEbsOptimizedInstances)
        Parameters:
        useEbsOptimizedInstances - Whether to use EBS-optimized instances.
        Returns:
        builder
      • useEbsOptimizedInstances

        public JavaAppLayerArgs.Builder useEbsOptimizedInstances​(java.lang.Boolean useEbsOptimizedInstances)
        Parameters:
        useEbsOptimizedInstances - Whether to use EBS-optimized instances.
        Returns:
        builder