Class SnapshotCopyState.Builder

  • Enclosing class:
    SnapshotCopyState

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

      • Builder

        public Builder()
    • Method Detail

      • allocatedStorage

        public SnapshotCopyState.Builder allocatedStorage​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
        Parameters:
        allocatedStorage - Allocated storage size in gigabytes (GB).
        Returns:
        builder
      • allocatedStorage

        public SnapshotCopyState.Builder allocatedStorage​(java.lang.Integer allocatedStorage)
        Parameters:
        allocatedStorage - Allocated storage size in gigabytes (GB).
        Returns:
        builder
      • availabilityZone

        public SnapshotCopyState.Builder availabilityZone​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
        Returns:
        builder
      • availabilityZone

        public SnapshotCopyState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
        Returns:
        builder
      • copyTags

        public SnapshotCopyState.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 SnapshotCopyState.Builder copyTags​(java.lang.Boolean copyTags)
        Parameters:
        copyTags - Whether to copy existing tags. Defaults to `false`.
        Returns:
        builder
      • dbSnapshotArn

        public SnapshotCopyState.Builder dbSnapshotArn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> dbSnapshotArn)
        Parameters:
        dbSnapshotArn - ARN for the DB snapshot.
        Returns:
        builder
      • dbSnapshotArn

        public SnapshotCopyState.Builder dbSnapshotArn​(java.lang.String dbSnapshotArn)
        Parameters:
        dbSnapshotArn - ARN for the DB snapshot.
        Returns:
        builder
      • destinationRegion

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

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

        public SnapshotCopyState.Builder encrypted​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> encrypted)
        Parameters:
        encrypted - Whether the DB snapshot is encrypted.
        Returns:
        builder
      • encrypted

        public SnapshotCopyState.Builder encrypted​(java.lang.Boolean encrypted)
        Parameters:
        encrypted - Whether the DB snapshot is encrypted.
        Returns:
        builder
      • engine

        public SnapshotCopyState.Builder engine​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - Name of the database engine.
        Returns:
        builder
      • engine

        public SnapshotCopyState.Builder engine​(java.lang.String engine)
        Parameters:
        engine - Name of the database engine.
        Returns:
        builder
      • engineVersion

        public SnapshotCopyState.Builder engineVersion​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - Version of the database engine.
        Returns:
        builder
      • engineVersion

        public SnapshotCopyState.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - Version of the database engine.
        Returns:
        builder
      • iops

        public SnapshotCopyState.Builder iops​(@Nullable
                                              com.pulumi.core.Output<java.lang.Integer> iops)
        Parameters:
        iops - Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
        Returns:
        builder
      • iops

        public SnapshotCopyState.Builder iops​(java.lang.Integer iops)
        Parameters:
        iops - Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
        Returns:
        builder
      • kmsKeyId

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

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

        public SnapshotCopyState.Builder licenseModel​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> licenseModel)
        Parameters:
        licenseModel - License model information for the restored DB instance.
        Returns:
        builder
      • licenseModel

        public SnapshotCopyState.Builder licenseModel​(java.lang.String licenseModel)
        Parameters:
        licenseModel - License model information for the restored DB instance.
        Returns:
        builder
      • optionGroupName

        public SnapshotCopyState.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 SnapshotCopyState.Builder optionGroupName​(java.lang.String optionGroupName)
        Parameters:
        optionGroupName - Name of an option group to associate with the copy of the snapshot.
        Returns:
        builder
      • port

        public SnapshotCopyState.Builder port​(@Nullable
                                              com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port that the database engine is listening on.
        Returns:
        builder
      • port

        public SnapshotCopyState.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port that the database engine is listening on.
        Returns:
        builder
      • presignedUrl

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

        public SnapshotCopyState.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 SnapshotCopyState.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 SnapshotCopyState.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 SnapshotCopyState.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 SnapshotCopyState.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
      • snapshotType

        public SnapshotCopyState.Builder snapshotType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> snapshotType)
        Parameters:
        snapshotType - Type of the DB snapshot.
        Returns:
        builder
      • snapshotType

        public SnapshotCopyState.Builder snapshotType​(java.lang.String snapshotType)
        Parameters:
        snapshotType - Type of the DB snapshot.
        Returns:
        builder
      • sourceDbSnapshotIdentifier

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

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

        public SnapshotCopyState.Builder sourceRegion​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> sourceRegion)
        Parameters:
        sourceRegion - Region that the DB snapshot was created in or copied from.
        Returns:
        builder
      • sourceRegion

        public SnapshotCopyState.Builder sourceRegion​(java.lang.String sourceRegion)
        Parameters:
        sourceRegion - Region that the DB snapshot was created in or copied from.
        Returns:
        builder
      • storageType

        public SnapshotCopyState.Builder storageType​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - Storage type associated with DB snapshot.
        Returns:
        builder
      • storageType

        public SnapshotCopyState.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - Storage type associated with DB snapshot.
        Returns:
        builder
      • tags

        public SnapshotCopyState.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 SnapshotCopyState.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
      • tagsAll

        public SnapshotCopyState.Builder tagsAll​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public SnapshotCopyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • targetCustomAvailabilityZone

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

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

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

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

        public SnapshotCopyState.Builder vpcId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - Provides the VPC ID associated with the DB snapshot.
        Returns:
        builder
      • vpcId

        public SnapshotCopyState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - Provides the VPC ID associated with the DB snapshot.
        Returns:
        builder