/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lightsail.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateRelationalDatabaseFromSnapshotRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The name to use for your new Lightsail database resource. *

*

* Constraints: *

* */ private String relationalDatabaseName; /** *

* The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive * format. *

*

* You can get a list of Availability Zones by using the get regions operation. Be sure to add the * include relational database Availability Zones parameter to your request. *

*/ private String availabilityZone; /** *

* Specifies the accessibility options for your new database. A value of true specifies a database that * is available to resources outside of your Lightsail account. A value of false specifies a database * that is available only to your Lightsail resources in the same region as your database. *

*/ private Boolean publiclyAccessible; /** *

* The name of the database snapshot from which to create your new database. *

*/ private String relationalDatabaseSnapshotName; /** *

* The bundle ID for your new database. A bundle describes the performance specifications for your database. *

*

* You can get a list of database bundle IDs by using the get relational database bundles operation. *

*

* When creating a new database from a snapshot, you cannot choose a bundle that is smaller than the bundle of the * source database. *

*/ private String relationalDatabaseBundleId; /** *

* The name of the source database. *

*/ private String sourceRelationalDatabaseName; /** *

* The date and time to restore your database from. *

*

* Constraints: *

* */ private java.util.Date restoreTime; /** *

* Specifies whether your database is restored from the latest backup time. A value of true restores * from the latest backup time. *

*

* Default: false *

*

* Constraints: Cannot be specified if the restore time parameter is provided. *

*/ private Boolean useLatestRestorableTime; /** *

* The tag keys and optional values to add to the resource during create. *

*

* Use the TagResource action to tag a resource after it's created. *

*/ private java.util.List tags; /** *

* The name to use for your new Lightsail database resource. *

*

* Constraints: *

* * * @param relationalDatabaseName * The name to use for your new Lightsail database resource.

*

* Constraints: *

*