Class SnapshotCopyArgs.Builder

  • Enclosing class:
    SnapshotCopyArgs

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

      • Builder

        public Builder()
    • Method Detail

      • clusterIdentifier

        public SnapshotCopyArgs.Builder clusterIdentifier​(com.pulumi.core.Output<java.lang.String> clusterIdentifier)
        Parameters:
        clusterIdentifier - Identifier of the source cluster.
        Returns:
        builder
      • clusterIdentifier

        public SnapshotCopyArgs.Builder clusterIdentifier​(java.lang.String clusterIdentifier)
        Parameters:
        clusterIdentifier - Identifier of the source cluster.
        Returns:
        builder
      • destinationRegion

        public SnapshotCopyArgs.Builder destinationRegion​(com.pulumi.core.Output<java.lang.String> destinationRegion)
        Parameters:
        destinationRegion - AWS Region to copy snapshots to. The following arguments are optional:
        Returns:
        builder
      • destinationRegion

        public SnapshotCopyArgs.Builder destinationRegion​(java.lang.String destinationRegion)
        Parameters:
        destinationRegion - AWS Region to copy snapshots to. The following arguments are optional:
        Returns:
        builder
      • manualSnapshotRetentionPeriod

        public SnapshotCopyArgs.Builder manualSnapshotRetentionPeriod​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)
        Parameters:
        manualSnapshotRetentionPeriod - Number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is `-1`, the manual snapshot is retained indefinitely.
        Returns:
        builder
      • manualSnapshotRetentionPeriod

        public SnapshotCopyArgs.Builder manualSnapshotRetentionPeriod​(java.lang.Integer manualSnapshotRetentionPeriod)
        Parameters:
        manualSnapshotRetentionPeriod - Number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is `-1`, the manual snapshot is retained indefinitely.
        Returns:
        builder
      • region

        public SnapshotCopyArgs.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 SnapshotCopyArgs.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
      • retentionPeriod

        public SnapshotCopyArgs.Builder retentionPeriod​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> retentionPeriod)
        Parameters:
        retentionPeriod - Number of days to retain automated snapshots in the destination region after they are copied from the source region.
        Returns:
        builder
      • retentionPeriod

        public SnapshotCopyArgs.Builder retentionPeriod​(java.lang.Integer retentionPeriod)
        Parameters:
        retentionPeriod - Number of days to retain automated snapshots in the destination region after they are copied from the source region.
        Returns:
        builder
      • snapshotCopyGrantName

        public SnapshotCopyArgs.Builder snapshotCopyGrantName​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> snapshotCopyGrantName)
        Parameters:
        snapshotCopyGrantName - Name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
        Returns:
        builder
      • snapshotCopyGrantName

        public SnapshotCopyArgs.Builder snapshotCopyGrantName​(java.lang.String snapshotCopyGrantName)
        Parameters:
        snapshotCopyGrantName - Name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
        Returns:
        builder