Class SnapshotState.Builder

  • Enclosing class:
    SnapshotState

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

      • Builder

        public Builder()
    • Method Detail

      • allocatedStorage

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

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

        public SnapshotState.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 SnapshotState.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
      • dbInstanceIdentifier

        public SnapshotState.Builder dbInstanceIdentifier​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> dbInstanceIdentifier)
        Parameters:
        dbInstanceIdentifier - DB instance identifier from which to take the snapshot.
        Returns:
        builder
      • dbInstanceIdentifier

        public SnapshotState.Builder dbInstanceIdentifier​(java.lang.String dbInstanceIdentifier)
        Parameters:
        dbInstanceIdentifier - DB instance identifier from which to take the snapshot.
        Returns:
        builder
      • dbSnapshotArn

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

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

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

        public SnapshotState.Builder dbSnapshotIdentifier​(java.lang.String dbSnapshotIdentifier)
        Parameters:
        dbSnapshotIdentifier - Identifier for the snapshot.
        Returns:
        builder
      • encrypted

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

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

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

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

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

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

        public SnapshotState.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 SnapshotState.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 SnapshotState.Builder kmsKeyId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - ARN for the KMS encryption key.
        Returns:
        builder
      • kmsKeyId

        public SnapshotState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - ARN for the KMS encryption key.
        Returns:
        builder
      • licenseModel

        public SnapshotState.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 SnapshotState.Builder licenseModel​(java.lang.String licenseModel)
        Parameters:
        licenseModel - License model information for the restored DB instance.
        Returns:
        builder
      • optionGroupName

        public SnapshotState.Builder optionGroupName​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> optionGroupName)
        Parameters:
        optionGroupName - Provides the option group name for the DB snapshot.
        Returns:
        builder
      • optionGroupName

        public SnapshotState.Builder optionGroupName​(java.lang.String optionGroupName)
        Parameters:
        optionGroupName - Provides the option group name for the DB snapshot.
        Returns:
        builder
      • port

        public SnapshotState.Builder port​(@Nullable
                                          com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port that the DB snapshot listens on.
        Returns:
        builder
      • port

        public SnapshotState.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port that the DB snapshot listens on.
        Returns:
        builder
      • region

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

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

        public SnapshotState.Builder sourceDbSnapshotIdentifier​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> sourceDbSnapshotIdentifier)
        Parameters:
        sourceDbSnapshotIdentifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
        Returns:
        builder
      • sourceDbSnapshotIdentifier

        public SnapshotState.Builder sourceDbSnapshotIdentifier​(java.lang.String sourceDbSnapshotIdentifier)
        Parameters:
        sourceDbSnapshotIdentifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
        Returns:
        builder
      • sourceRegion

        public SnapshotState.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 SnapshotState.Builder sourceRegion​(java.lang.String sourceRegion)
        Parameters:
        sourceRegion - Region that the DB snapshot was created in or copied from.
        Returns:
        builder
      • status

        public SnapshotState.Builder status​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of this DB snapshot.
        Returns:
        builder
      • status

        public SnapshotState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of this DB snapshot.
        Returns:
        builder
      • storageType

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

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

        public SnapshotState.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 SnapshotState.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 SnapshotState.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 SnapshotState.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
      • vpcId

        public SnapshotState.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 SnapshotState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - Provides the VPC ID associated with the DB snapshot.
        Returns:
        builder