Class SnapshotScheduleArgs.Builder

  • Enclosing class:
    SnapshotScheduleArgs

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

      • definitions

        public SnapshotScheduleArgs.Builder definitions​(com.pulumi.core.Output<java.util.List<java.lang.String>> definitions)
        Parameters:
        definitions - The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`.
        Returns:
        builder
      • definitions

        public SnapshotScheduleArgs.Builder definitions​(java.util.List<java.lang.String> definitions)
        Parameters:
        definitions - The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`.
        Returns:
        builder
      • definitions

        public SnapshotScheduleArgs.Builder definitions​(java.lang.String... definitions)
        Parameters:
        definitions - The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`.
        Returns:
        builder
      • description

        public SnapshotScheduleArgs.Builder description​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the snapshot schedule.
        Returns:
        builder
      • description

        public SnapshotScheduleArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The description of the snapshot schedule.
        Returns:
        builder
      • forceDestroy

        public SnapshotScheduleArgs.Builder forceDestroy​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
        Parameters:
        forceDestroy - Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.
        Returns:
        builder
      • forceDestroy

        public SnapshotScheduleArgs.Builder forceDestroy​(java.lang.Boolean forceDestroy)
        Parameters:
        forceDestroy - Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.
        Returns:
        builder
      • identifier

        public SnapshotScheduleArgs.Builder identifier​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> identifier)
        Parameters:
        identifier - The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.
        Returns:
        builder
      • identifier

        public SnapshotScheduleArgs.Builder identifier​(java.lang.String identifier)
        Parameters:
        identifier - The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.
        Returns:
        builder
      • identifierPrefix

        public SnapshotScheduleArgs.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 SnapshotScheduleArgs.Builder identifierPrefix​(java.lang.String identifierPrefix)
        Parameters:
        identifierPrefix - Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.
        Returns:
        builder
      • region

        public SnapshotScheduleArgs.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 SnapshotScheduleArgs.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
      • tags

        public SnapshotScheduleArgs.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public SnapshotScheduleArgs.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder