Class InstanceArgs.Builder

  • Enclosing class:
    InstanceArgs

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

      • Builder

        public Builder()
    • Method Detail

      • copySettings

        public InstanceArgs.Builder copySettings​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<InstanceCopySettingArgs>> copySettings)
        Parameters:
        copySettings - Copy settings from one CloudAMQP instance to a new. Consists of the block documented below. *** The `copy_settings` block consists of:
        Returns:
        builder
      • copySettings

        public InstanceArgs.Builder copySettings​(java.util.List<InstanceCopySettingArgs> copySettings)
        Parameters:
        copySettings - Copy settings from one CloudAMQP instance to a new. Consists of the block documented below. *** The `copy_settings` block consists of:
        Returns:
        builder
      • copySettings

        public InstanceArgs.Builder copySettings​(InstanceCopySettingArgs... copySettings)
        Parameters:
        copySettings - Copy settings from one CloudAMQP instance to a new. Consists of the block documented below. *** The `copy_settings` block consists of:
        Returns:
        builder
      • keepAssociatedVpc

        public InstanceArgs.Builder keepAssociatedVpc​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> keepAssociatedVpc)
        Parameters:
        keepAssociatedVpc - Keep associated VPC when deleting instance, default set to false.
        Returns:
        builder
      • keepAssociatedVpc

        public InstanceArgs.Builder keepAssociatedVpc​(java.lang.Boolean keepAssociatedVpc)
        Parameters:
        keepAssociatedVpc - Keep associated VPC when deleting instance, default set to false.
        Returns:
        builder
      • name

        public InstanceArgs.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the CloudAMQP instance.
        Returns:
        builder
      • name

        public InstanceArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the CloudAMQP instance.
        Returns:
        builder
      • noDefaultAlarms

        public InstanceArgs.Builder noDefaultAlarms​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> noDefaultAlarms)
        Parameters:
        noDefaultAlarms - Set to true to discard creating default alarms when the instance is created. Can be left out, will then use default value = false.
        Returns:
        builder
      • noDefaultAlarms

        public InstanceArgs.Builder noDefaultAlarms​(java.lang.Boolean noDefaultAlarms)
        Parameters:
        noDefaultAlarms - Set to true to discard creating default alarms when the instance is created. Can be left out, will then use default value = false.
        Returns:
        builder
      • nodes

        public InstanceArgs.Builder nodes​(@Nullable
                                          com.pulumi.core.Output<java.lang.Integer> nodes)
        Parameters:
        nodes - Number of nodes, 1, 3 or 5 depending on plan used. Only needed for legacy plans, will otherwise be computed. ***Deprecated: Legacy subscriptions plan can still change this to scale up or down the instance. New subscriptions plans use the plan to determine number of nodes. In order to change number of nodes the `plan` needs to be updated.***
        Returns:
        builder
      • nodes

        public InstanceArgs.Builder nodes​(java.lang.Integer nodes)
        Parameters:
        nodes - Number of nodes, 1, 3 or 5 depending on plan used. Only needed for legacy plans, will otherwise be computed. ***Deprecated: Legacy subscriptions plan can still change this to scale up or down the instance. New subscriptions plans use the plan to determine number of nodes. In order to change number of nodes the `plan` needs to be updated.***
        Returns:
        builder
      • plan

        public InstanceArgs.Builder plan​(com.pulumi.core.Output<java.lang.String> plan)
        Parameters:
        plan - The subscription plan. See available plans
        Returns:
        builder
      • plan

        public InstanceArgs.Builder plan​(java.lang.String plan)
        Parameters:
        plan - The subscription plan. See available plans
        Returns:
        builder
      • region

        public InstanceArgs.Builder region​(com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region to host the instance in. See instance regions ***Note: Changing region will force the instance to be destroyed and a new created in the new region. All data will be lost and a new name assigned.***
        Returns:
        builder
      • region

        public InstanceArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region to host the instance in. See instance regions ***Note: Changing region will force the instance to be destroyed and a new created in the new region. All data will be lost and a new name assigned.***
        Returns:
        builder
      • rmqVersion

        public InstanceArgs.Builder rmqVersion​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> rmqVersion)
        Parameters:
        rmqVersion - The Rabbit MQ version. Can be left out, will then be set to default value used by CloudAMQP API. ***Note: There is not yet any support in the provider to change the RMQ version. Once it's set in the initial creation, it will remain.***
        Returns:
        builder
      • rmqVersion

        public InstanceArgs.Builder rmqVersion​(java.lang.String rmqVersion)
        Parameters:
        rmqVersion - The Rabbit MQ version. Can be left out, will then be set to default value used by CloudAMQP API. ***Note: There is not yet any support in the provider to change the RMQ version. Once it's set in the initial creation, it will remain.***
        Returns:
        builder
      • tags

        public InstanceArgs.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
        Parameters:
        tags - One or more tags for the CloudAMQP instance, makes it possible to categories multiple instances in console view. Default there is no tags assigned.
        Returns:
        builder
      • tags

        public InstanceArgs.Builder tags​(java.util.List<java.lang.String> tags)
        Parameters:
        tags - One or more tags for the CloudAMQP instance, makes it possible to categories multiple instances in console view. Default there is no tags assigned.
        Returns:
        builder
      • tags

        public InstanceArgs.Builder tags​(java.lang.String... tags)
        Parameters:
        tags - One or more tags for the CloudAMQP instance, makes it possible to categories multiple instances in console view. Default there is no tags assigned.
        Returns:
        builder
      • vpcId

        public InstanceArgs.Builder vpcId​(@Nullable
                                          com.pulumi.core.Output<java.lang.Integer> vpcId)
        Parameters:
        vpcId - The VPC ID. Use this to create your instance in an existing VPC. See available example.
        Returns:
        builder
      • vpcId

        public InstanceArgs.Builder vpcId​(java.lang.Integer vpcId)
        Parameters:
        vpcId - The VPC ID. Use this to create your instance in an existing VPC. See available example.
        Returns:
        builder
      • vpcSubnet

        public InstanceArgs.Builder vpcSubnet​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> vpcSubnet)
        Parameters:
        vpcSubnet - Creates a dedicated VPC subnet, shouldn't overlap with other VPC subnet, default subnet used 10.56.72.0/24. ***Deprecated: Will be removed in next major version (v2.0)*** ***Note: extra fee will be charged when using VPC, see [CloudAMQP](https://cloudamqp.com) for more information.***
        Returns:
        builder
      • vpcSubnet

        public InstanceArgs.Builder vpcSubnet​(java.lang.String vpcSubnet)
        Parameters:
        vpcSubnet - Creates a dedicated VPC subnet, shouldn't overlap with other VPC subnet, default subnet used 10.56.72.0/24. ***Deprecated: Will be removed in next major version (v2.0)*** ***Note: extra fee will be charged when using VPC, see [CloudAMQP](https://cloudamqp.com) for more information.***
        Returns:
        builder