Class CustomLayerState.Builder

  • Enclosing class:
    CustomLayerState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public CustomLayerState.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The Amazon Resource Name(ARN) of the layer.
        Returns:
        builder
      • arn

        public CustomLayerState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The Amazon Resource Name(ARN) of the layer.
        Returns:
        builder
      • autoAssignElasticIps

        public CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.Builder autoHealing​(java.lang.Boolean autoHealing)
        Parameters:
        autoHealing - Whether to enable auto-healing for the layer.
        Returns:
        builder
      • cloudwatchConfiguration

        public CustomLayerState.Builder cloudwatchConfiguration​(@Nullable
                                                                com.pulumi.core.Output<CustomLayerCloudwatchConfigurationArgs> cloudwatchConfiguration)
        Parameters:
        cloudwatchConfiguration - Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
        Returns:
        builder
      • customConfigureRecipes

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

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

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

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

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

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

        public CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.Builder customJson​(java.lang.String customJson)
        Parameters:
        customJson - Custom JSON attributes to apply to the layer.
        Returns:
        builder
      • customSecurityGroupIds

        public CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.Builder customSetupRecipes​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> customSetupRecipes)
      • customSetupRecipes

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

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

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

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

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

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

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

        public CustomLayerState.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 CustomLayerState.Builder drainElbOnShutdown​(java.lang.Boolean drainElbOnShutdown)
        Parameters:
        drainElbOnShutdown - Whether to enable Elastic Load Balancing connection draining.
        Returns:
        builder
      • ebsVolumes

        public CustomLayerState.Builder ebsVolumes​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<CustomLayerEbsVolumeArgs>> ebsVolumes)
        Parameters:
        ebsVolumes - Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
        Returns:
        builder
      • elasticLoadBalancer

        public CustomLayerState.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 CustomLayerState.Builder elasticLoadBalancer​(java.lang.String elasticLoadBalancer)
        Parameters:
        elasticLoadBalancer - Name of an Elastic Load Balancer to attach to this layer
        Returns:
        builder
      • installUpdatesOnBoot

        public CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.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
      • name

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

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

        public CustomLayerState.Builder shortName​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> shortName)
        Parameters:
        shortName - A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON.
        Returns:
        builder
      • shortName

        public CustomLayerState.Builder shortName​(java.lang.String shortName)
        Parameters:
        shortName - A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON.
        Returns:
        builder
      • stackId

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

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

        public CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.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 CustomLayerState.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
      • tagsAll

        @Deprecated
        public CustomLayerState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public CustomLayerState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • useEbsOptimizedInstances

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

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