Class SnapshotCopyArgs.Builder

  • Enclosing class:
    SnapshotCopyArgs

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

      • Builder

        public Builder()
    • Method Detail

      • copyTags

        public SnapshotCopyArgs.Builder copyTags​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> copyTags)
        Parameters:
        copyTags - Whether to copy existing tags. Defaults to `false`.
        Returns:
        builder
      • copyTags

        public SnapshotCopyArgs.Builder copyTags​(java.lang.Boolean copyTags)
        Parameters:
        copyTags - Whether to copy existing tags. Defaults to `false`.
        Returns:
        builder
      • destinationRegion

        public SnapshotCopyArgs.Builder destinationRegion​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> destinationRegion)
        Parameters:
        destinationRegion - Destination Region to place snapshot copy.
        Returns:
        builder
      • destinationRegion

        public SnapshotCopyArgs.Builder destinationRegion​(java.lang.String destinationRegion)
        Parameters:
        destinationRegion - Destination Region to place snapshot copy.
        Returns:
        builder
      • kmsKeyId

        public SnapshotCopyArgs.Builder kmsKeyId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - KMS key ID.
        Returns:
        builder
      • kmsKeyId

        public SnapshotCopyArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - KMS key ID.
        Returns:
        builder
      • optionGroupName

        public SnapshotCopyArgs.Builder optionGroupName​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> optionGroupName)
        Parameters:
        optionGroupName - Name of an option group to associate with the copy of the snapshot.
        Returns:
        builder
      • optionGroupName

        public SnapshotCopyArgs.Builder optionGroupName​(java.lang.String optionGroupName)
        Parameters:
        optionGroupName - Name of an option group to associate with the copy of the snapshot.
        Returns:
        builder
      • presignedUrl

        public SnapshotCopyArgs.Builder presignedUrl​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> presignedUrl)
        Parameters:
        presignedUrl - URL that contains a Signature Version 4 signed request.
        Returns:
        builder
      • presignedUrl

        public SnapshotCopyArgs.Builder presignedUrl​(java.lang.String presignedUrl)
        Parameters:
        presignedUrl - URL that contains a Signature Version 4 signed request.
        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
      • sharedAccounts

        public SnapshotCopyArgs.Builder sharedAccounts​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> sharedAccounts)
        Parameters:
        sharedAccounts - List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public.
        Returns:
        builder
      • sharedAccounts

        public SnapshotCopyArgs.Builder sharedAccounts​(java.util.List<java.lang.String> sharedAccounts)
        Parameters:
        sharedAccounts - List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public.
        Returns:
        builder
      • sharedAccounts

        public SnapshotCopyArgs.Builder sharedAccounts​(java.lang.String... sharedAccounts)
        Parameters:
        sharedAccounts - List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public.
        Returns:
        builder
      • sourceDbSnapshotIdentifier

        public SnapshotCopyArgs.Builder sourceDbSnapshotIdentifier​(com.pulumi.core.Output<java.lang.String> sourceDbSnapshotIdentifier)
        Parameters:
        sourceDbSnapshotIdentifier - Snapshot identifier of the source snapshot.
        Returns:
        builder
      • sourceDbSnapshotIdentifier

        public SnapshotCopyArgs.Builder sourceDbSnapshotIdentifier​(java.lang.String sourceDbSnapshotIdentifier)
        Parameters:
        sourceDbSnapshotIdentifier - Snapshot identifier of the source snapshot.
        Returns:
        builder
      • tags

        public SnapshotCopyArgs.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. 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 SnapshotCopyArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • targetCustomAvailabilityZone

        public SnapshotCopyArgs.Builder targetCustomAvailabilityZone​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> targetCustomAvailabilityZone)
        Parameters:
        targetCustomAvailabilityZone - External custom Availability Zone.
        Returns:
        builder
      • targetCustomAvailabilityZone

        public SnapshotCopyArgs.Builder targetCustomAvailabilityZone​(java.lang.String targetCustomAvailabilityZone)
        Parameters:
        targetCustomAvailabilityZone - External custom Availability Zone.
        Returns:
        builder
      • targetDbSnapshotIdentifier

        public SnapshotCopyArgs.Builder targetDbSnapshotIdentifier​(com.pulumi.core.Output<java.lang.String> targetDbSnapshotIdentifier)
        Parameters:
        targetDbSnapshotIdentifier - Identifier for the snapshot.
        Returns:
        builder
      • targetDbSnapshotIdentifier

        public SnapshotCopyArgs.Builder targetDbSnapshotIdentifier​(java.lang.String targetDbSnapshotIdentifier)
        Parameters:
        targetDbSnapshotIdentifier - Identifier for the snapshot.
        Returns:
        builder