Class ClusterInstanceArgs.Builder

  • Enclosing class:
    ClusterInstanceArgs

    public static final class ClusterInstanceArgs.Builder
    extends java.lang.Object
    • Method Detail

      • applyImmediately

        public ClusterInstanceArgs.Builder applyImmediately​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
        Parameters:
        applyImmediately - Specifies whether any instance modifications are applied immediately, or during the next maintenance window. Default is`false`.
        Returns:
        builder
      • applyImmediately

        public ClusterInstanceArgs.Builder applyImmediately​(java.lang.Boolean applyImmediately)
        Parameters:
        applyImmediately - Specifies whether any instance modifications are applied immediately, or during the next maintenance window. Default is`false`.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ClusterInstanceArgs.Builder autoMinorVersionUpgrade​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the instance during the maintenance window. Default is `true`.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ClusterInstanceArgs.Builder autoMinorVersionUpgrade​(java.lang.Boolean autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Indicates that minor engine upgrades will be applied automatically to the instance during the maintenance window. Default is `true`.
        Returns:
        builder
      • availabilityZone

        public ClusterInstanceArgs.Builder availabilityZone​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - The EC2 Availability Zone that the neptune instance is created in.
        Returns:
        builder
      • availabilityZone

        public ClusterInstanceArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The EC2 Availability Zone that the neptune instance is created in.
        Returns:
        builder
      • clusterIdentifier

        public ClusterInstanceArgs.Builder clusterIdentifier​(com.pulumi.core.Output<java.lang.String> clusterIdentifier)
        Parameters:
        clusterIdentifier - The identifier of the `aws.neptune.Cluster` in which to launch this instance.
        Returns:
        builder
      • clusterIdentifier

        public ClusterInstanceArgs.Builder clusterIdentifier​(java.lang.String clusterIdentifier)
        Parameters:
        clusterIdentifier - The identifier of the `aws.neptune.Cluster` in which to launch this instance.
        Returns:
        builder
      • engine

        public ClusterInstanceArgs.Builder engine​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - The name of the database engine to be used for the neptune instance. Defaults to `neptune`. Valid Values: `neptune`.
        Returns:
        builder
      • engine

        public ClusterInstanceArgs.Builder engine​(java.lang.String engine)
        Parameters:
        engine - The name of the database engine to be used for the neptune instance. Defaults to `neptune`. Valid Values: `neptune`.
        Returns:
        builder
      • engineVersion

        public ClusterInstanceArgs.Builder engineVersion​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - The neptune engine version. Currently configuring this argument has no effect.
        Returns:
        builder
      • engineVersion

        public ClusterInstanceArgs.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - The neptune engine version. Currently configuring this argument has no effect.
        Returns:
        builder
      • identifier

        public ClusterInstanceArgs.Builder identifier​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> identifier)
        Parameters:
        identifier - The identifier for the neptune instance, if omitted, this provider will assign a random, unique identifier.
        Returns:
        builder
      • identifier

        public ClusterInstanceArgs.Builder identifier​(java.lang.String identifier)
        Parameters:
        identifier - The identifier for the neptune instance, if omitted, this provider will assign a random, unique identifier.
        Returns:
        builder
      • identifierPrefix

        public ClusterInstanceArgs.Builder identifierPrefix​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> identifierPrefix)
        Parameters:
        identifierPrefix - Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.
        Returns:
        builder
      • identifierPrefix

        public ClusterInstanceArgs.Builder identifierPrefix​(java.lang.String identifierPrefix)
        Parameters:
        identifierPrefix - Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.
        Returns:
        builder
      • instanceClass

        public ClusterInstanceArgs.Builder instanceClass​(com.pulumi.core.Output<java.lang.String> instanceClass)
        Parameters:
        instanceClass - The instance class to use.
        Returns:
        builder
      • instanceClass

        public ClusterInstanceArgs.Builder instanceClass​(java.lang.String instanceClass)
        Parameters:
        instanceClass - The instance class to use.
        Returns:
        builder
      • neptuneParameterGroupName

        public ClusterInstanceArgs.Builder neptuneParameterGroupName​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> neptuneParameterGroupName)
        Parameters:
        neptuneParameterGroupName - The name of the neptune parameter group to associate with this instance.
        Returns:
        builder
      • neptuneParameterGroupName

        public ClusterInstanceArgs.Builder neptuneParameterGroupName​(java.lang.String neptuneParameterGroupName)
        Parameters:
        neptuneParameterGroupName - The name of the neptune parameter group to associate with this instance.
        Returns:
        builder
      • neptuneSubnetGroupName

        public ClusterInstanceArgs.Builder neptuneSubnetGroupName​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> neptuneSubnetGroupName)
        Parameters:
        neptuneSubnetGroupName - A subnet group to associate with this neptune instance. **NOTE:** This must match the `neptuneSubnetGroupName` of the attached `aws.neptune.Cluster`.
        Returns:
        builder
      • neptuneSubnetGroupName

        public ClusterInstanceArgs.Builder neptuneSubnetGroupName​(java.lang.String neptuneSubnetGroupName)
        Parameters:
        neptuneSubnetGroupName - A subnet group to associate with this neptune instance. **NOTE:** This must match the `neptuneSubnetGroupName` of the attached `aws.neptune.Cluster`.
        Returns:
        builder
      • port

        public ClusterInstanceArgs.Builder port​(@Nullable
                                                com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port on which the DB accepts connections. Defaults to `8182`.
        Returns:
        builder
      • port

        public ClusterInstanceArgs.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port on which the DB accepts connections. Defaults to `8182`.
        Returns:
        builder
      • preferredBackupWindow

        public ClusterInstanceArgs.Builder preferredBackupWindow​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> preferredBackupWindow)
        Parameters:
        preferredBackupWindow - The daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00"
        Returns:
        builder
      • preferredBackupWindow

        public ClusterInstanceArgs.Builder preferredBackupWindow​(java.lang.String preferredBackupWindow)
        Parameters:
        preferredBackupWindow - The daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00"
        Returns:
        builder
      • preferredMaintenanceWindow

        public ClusterInstanceArgs.Builder preferredMaintenanceWindow​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - The window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
        Returns:
        builder
      • preferredMaintenanceWindow

        public ClusterInstanceArgs.Builder preferredMaintenanceWindow​(java.lang.String preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - The window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
        Returns:
        builder
      • promotionTier

        public ClusterInstanceArgs.Builder promotionTier​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> promotionTier)
        Parameters:
        promotionTier - Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoter to writer.
        Returns:
        builder
      • promotionTier

        public ClusterInstanceArgs.Builder promotionTier​(java.lang.Integer promotionTier)
        Parameters:
        promotionTier - Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoter to writer.
        Returns:
        builder
      • publiclyAccessible

        public ClusterInstanceArgs.Builder publiclyAccessible​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
        Parameters:
        publiclyAccessible - Bool to control if instance is publicly accessible. Default is `false`.
        Returns:
        builder
      • publiclyAccessible

        public ClusterInstanceArgs.Builder publiclyAccessible​(java.lang.Boolean publiclyAccessible)
        Parameters:
        publiclyAccessible - Bool to control if instance is publicly accessible. Default is `false`.
        Returns:
        builder
      • region

        public ClusterInstanceArgs.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 ClusterInstanceArgs.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
      • skipFinalSnapshot

        public ClusterInstanceArgs.Builder skipFinalSnapshot​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Determines whether a final DB snapshot is created before the DB instance is deleted.
        Returns:
        builder
      • skipFinalSnapshot

        public ClusterInstanceArgs.Builder skipFinalSnapshot​(java.lang.Boolean skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Determines whether a final DB snapshot is created before the DB instance is deleted.
        Returns:
        builder
      • tags

        public ClusterInstanceArgs.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 instance. 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 ClusterInstanceArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder