Interface SqlDatabaseInstanceClone
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SqlDatabaseInstanceClone.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.775Z") @Stability(Stable) public interface SqlDatabaseInstanceClone extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSqlDatabaseInstanceClone.BuilderA builder forSqlDatabaseInstanceClonestatic classSqlDatabaseInstanceClone.Jsii$ProxyAn implementation forSqlDatabaseInstanceClone
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SqlDatabaseInstanceClone.Builderbuilder()default StringgetAllocatedIpRange()The name of the allocated ip range for the private ip CloudSQL instance.default List<String>getDatabaseNames()(SQL Server only, use with point_in_time) clone only the specified databases from the source instance.default StringgetPointInTime()The timestamp of the point in time that should be restored.default StringgetPreferredZone()(Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone.StringgetSourceInstanceName()The name of the instance from which the point in time should be restored.
-
-
-
Method Detail
-
getSourceInstanceName
@Stability(Stable) @NotNull String getSourceInstanceName()
The name of the instance from which the point in time should be restored.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#source_instance_name SqlDatabaseInstance#source_instance_name}
-
getAllocatedIpRange
@Stability(Stable) @Nullable default String getAllocatedIpRange()
The name of the allocated ip range for the private ip CloudSQL instance.For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#allocated_ip_range SqlDatabaseInstance#allocated_ip_range}
-
getDatabaseNames
@Stability(Stable) @Nullable default List<String> getDatabaseNames()
(SQL Server only, use with point_in_time) clone only the specified databases from the source instance.Clone all databases if empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#database_names SqlDatabaseInstance#database_names}
-
getPointInTime
@Stability(Stable) @Nullable default String getPointInTime()
The timestamp of the point in time that should be restored.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#point_in_time SqlDatabaseInstance#point_in_time}
-
getPreferredZone
@Stability(Stable) @Nullable default String getPreferredZone()
(Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone.If no zone is specified, clone to the same zone as the source instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_database_instance#preferred_zone SqlDatabaseInstance#preferred_zone}
-
builder
@Stability(Stable) static SqlDatabaseInstanceClone.Builder builder()
- Returns:
- a
SqlDatabaseInstanceClone.BuilderofSqlDatabaseInstanceClone
-
-