AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest Class Reference

#include <CreateInstancesFromSnapshotRequest.h>

+ Inheritance diagram for Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest:

Public Member Functions

 CreateInstancesFromSnapshotRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::Vector< Aws::String > & GetInstanceNames () const
 
bool InstanceNamesHasBeenSet () const
 
void SetInstanceNames (const Aws::Vector< Aws::String > &value)
 
void SetInstanceNames (Aws::Vector< Aws::String > &&value)
 
CreateInstancesFromSnapshotRequestWithInstanceNames (const Aws::Vector< Aws::String > &value)
 
CreateInstancesFromSnapshotRequestWithInstanceNames (Aws::Vector< Aws::String > &&value)
 
CreateInstancesFromSnapshotRequestAddInstanceNames (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestAddInstanceNames (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestAddInstanceNames (const char *value)
 
const Aws::Map< Aws::String, Aws::Vector< DiskMap > > & GetAttachedDiskMapping () const
 
bool AttachedDiskMappingHasBeenSet () const
 
void SetAttachedDiskMapping (const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &value)
 
void SetAttachedDiskMapping (Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&value)
 
CreateInstancesFromSnapshotRequestWithAttachedDiskMapping (const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &value)
 
CreateInstancesFromSnapshotRequestWithAttachedDiskMapping (Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const Aws::String &key, const Aws::Vector< DiskMap > &value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (Aws::String &&key, const Aws::Vector< DiskMap > &value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const Aws::String &key, Aws::Vector< DiskMap > &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (Aws::String &&key, Aws::Vector< DiskMap > &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const char *key, Aws::Vector< DiskMap > &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const char *key, const Aws::Vector< DiskMap > &value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
CreateInstancesFromSnapshotRequestWithAvailabilityZone (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithAvailabilityZone (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithAvailabilityZone (const char *value)
 
const Aws::StringGetInstanceSnapshotName () const
 
bool InstanceSnapshotNameHasBeenSet () const
 
void SetInstanceSnapshotName (const Aws::String &value)
 
void SetInstanceSnapshotName (Aws::String &&value)
 
void SetInstanceSnapshotName (const char *value)
 
CreateInstancesFromSnapshotRequestWithInstanceSnapshotName (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithInstanceSnapshotName (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithInstanceSnapshotName (const char *value)
 
const Aws::StringGetBundleId () const
 
bool BundleIdHasBeenSet () const
 
void SetBundleId (const Aws::String &value)
 
void SetBundleId (Aws::String &&value)
 
void SetBundleId (const char *value)
 
CreateInstancesFromSnapshotRequestWithBundleId (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithBundleId (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithBundleId (const char *value)
 
const Aws::StringGetUserData () const
 
bool UserDataHasBeenSet () const
 
void SetUserData (const Aws::String &value)
 
void SetUserData (Aws::String &&value)
 
void SetUserData (const char *value)
 
CreateInstancesFromSnapshotRequestWithUserData (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithUserData (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithUserData (const char *value)
 
const Aws::StringGetKeyPairName () const
 
bool KeyPairNameHasBeenSet () const
 
void SetKeyPairName (const Aws::String &value)
 
void SetKeyPairName (Aws::String &&value)
 
void SetKeyPairName (const char *value)
 
CreateInstancesFromSnapshotRequestWithKeyPairName (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithKeyPairName (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithKeyPairName (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateInstancesFromSnapshotRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateInstancesFromSnapshotRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateInstancesFromSnapshotRequestAddTags (const Tag &value)
 
CreateInstancesFromSnapshotRequestAddTags (Tag &&value)
 
const Aws::Vector< AddOnRequest > & GetAddOns () const
 
bool AddOnsHasBeenSet () const
 
void SetAddOns (const Aws::Vector< AddOnRequest > &value)
 
void SetAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateInstancesFromSnapshotRequestWithAddOns (const Aws::Vector< AddOnRequest > &value)
 
CreateInstancesFromSnapshotRequestWithAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateInstancesFromSnapshotRequestAddAddOns (const AddOnRequest &value)
 
CreateInstancesFromSnapshotRequestAddAddOns (AddOnRequest &&value)
 
const Aws::StringGetSourceInstanceName () const
 
bool SourceInstanceNameHasBeenSet () const
 
void SetSourceInstanceName (const Aws::String &value)
 
void SetSourceInstanceName (Aws::String &&value)
 
void SetSourceInstanceName (const char *value)
 
CreateInstancesFromSnapshotRequestWithSourceInstanceName (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithSourceInstanceName (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithSourceInstanceName (const char *value)
 
const Aws::StringGetRestoreDate () const
 
bool RestoreDateHasBeenSet () const
 
void SetRestoreDate (const Aws::String &value)
 
void SetRestoreDate (Aws::String &&value)
 
void SetRestoreDate (const char *value)
 
CreateInstancesFromSnapshotRequestWithRestoreDate (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithRestoreDate (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithRestoreDate (const char *value)
 
bool GetUseLatestRestorableAutoSnapshot () const
 
bool UseLatestRestorableAutoSnapshotHasBeenSet () const
 
void SetUseLatestRestorableAutoSnapshot (bool value)
 
CreateInstancesFromSnapshotRequestWithUseLatestRestorableAutoSnapshot (bool value)
 
- Public Member Functions inherited from Aws::Lightsail::LightsailRequest
virtual ~LightsailRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 26 of file CreateInstancesFromSnapshotRequest.h.

Constructor & Destructor Documentation

◆ CreateInstancesFromSnapshotRequest()

Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::CreateInstancesFromSnapshotRequest ( )

Member Function Documentation

◆ AddAddOns() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAddOns ( const AddOnRequest value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 595 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAddOns() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAddOns ( AddOnRequest &&  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 601 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [1/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const Aws::String key,
const Aws::Vector< DiskMap > &  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 121 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [2/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( Aws::String &&  key,
const Aws::Vector< DiskMap > &  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 126 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [3/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const Aws::String key,
Aws::Vector< DiskMap > &&  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 131 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [4/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( Aws::String &&  key,
Aws::Vector< DiskMap > &&  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 136 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [5/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const char *  key,
Aws::Vector< DiskMap > &&  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 141 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [6/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const char *  key,
const Aws::Vector< DiskMap > &  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 146 of file CreateInstancesFromSnapshotRequest.h.

◆ AddInstanceNames() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames ( const Aws::String value)
inline

The names for your new instances.

Definition at line 75 of file CreateInstancesFromSnapshotRequest.h.

◆ AddInstanceNames() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames ( Aws::String &&  value)
inline

The names for your new instances.

Definition at line 80 of file CreateInstancesFromSnapshotRequest.h.

◆ AddInstanceNames() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames ( const char *  value)
inline

The names for your new instances.

Definition at line 85 of file CreateInstancesFromSnapshotRequest.h.

◆ AddOnsHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddOnsHasBeenSet ( ) const
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 565 of file CreateInstancesFromSnapshotRequest.h.

◆ AddTags() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddTags ( const Tag value)
inline

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.

Definition at line 545 of file CreateInstancesFromSnapshotRequest.h.

◆ AddTags() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddTags ( Tag &&  value)
inline

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.

Definition at line 552 of file CreateInstancesFromSnapshotRequest.h.

◆ AttachedDiskMappingHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AttachedDiskMappingHasBeenSet ( ) const
inline

An object containing information about one or more disk mappings.

Definition at line 96 of file CreateInstancesFromSnapshotRequest.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 167 of file CreateInstancesFromSnapshotRequest.h.

◆ BundleIdHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::BundleIdHasBeenSet ( ) const
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 321 of file CreateInstancesFromSnapshotRequest.h.

◆ GetAddOns()

const Aws::Vector<AddOnRequest>& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAddOns ( ) const
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 559 of file CreateInstancesFromSnapshotRequest.h.

◆ GetAttachedDiskMapping()

const Aws::Map<Aws::String, Aws::Vector<DiskMap> >& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAttachedDiskMapping ( ) const
inline

An object containing information about one or more disk mappings.

Definition at line 91 of file CreateInstancesFromSnapshotRequest.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAvailabilityZone ( ) const
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 157 of file CreateInstancesFromSnapshotRequest.h.

◆ GetBundleId()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetBundleId ( ) const
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 315 of file CreateInstancesFromSnapshotRequest.h.

◆ GetInstanceNames()

const Aws::Vector<Aws::String>& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetInstanceNames ( ) const
inline

The names for your new instances.

Definition at line 45 of file CreateInstancesFromSnapshotRequest.h.

◆ GetInstanceSnapshotName()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetInstanceSnapshotName ( ) const
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 238 of file CreateInstancesFromSnapshotRequest.h.

◆ GetKeyPairName()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetKeyPairName ( ) const
inline

The name for your key pair.

Definition at line 460 of file CreateInstancesFromSnapshotRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetRestoreDate()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetRestoreDate ( ) const
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 722 of file CreateInstancesFromSnapshotRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file CreateInstancesFromSnapshotRequest.h.

◆ GetSourceInstanceName()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetSourceInstanceName ( ) const
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 615 of file CreateInstancesFromSnapshotRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetTags ( ) const
inline

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.

Definition at line 503 of file CreateInstancesFromSnapshotRequest.h.

◆ GetUseLatestRestorableAutoSnapshot()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetUseLatestRestorableAutoSnapshot ( ) const
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 840 of file CreateInstancesFromSnapshotRequest.h.

◆ GetUserData()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetUserData ( ) const
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 370 of file CreateInstancesFromSnapshotRequest.h.

◆ InstanceNamesHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::InstanceNamesHasBeenSet ( ) const
inline

The names for your new instances.

Definition at line 50 of file CreateInstancesFromSnapshotRequest.h.

◆ InstanceSnapshotNameHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::InstanceSnapshotNameHasBeenSet ( ) const
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 248 of file CreateInstancesFromSnapshotRequest.h.

◆ KeyPairNameHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::KeyPairNameHasBeenSet ( ) const
inline

The name for your key pair.

Definition at line 465 of file CreateInstancesFromSnapshotRequest.h.

◆ RestoreDateHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::RestoreDateHasBeenSet ( ) const
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 737 of file CreateInstancesFromSnapshotRequest.h.

◆ SerializePayload()

Aws::String Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAddOns() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAddOns ( const Aws::Vector< AddOnRequest > &  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 571 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAddOns() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAddOns ( Aws::Vector< AddOnRequest > &&  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 577 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAttachedDiskMapping() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAttachedDiskMapping ( const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &  value)
inline

An object containing information about one or more disk mappings.

Definition at line 101 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAttachedDiskMapping() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAttachedDiskMapping ( Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&  value)
inline

An object containing information about one or more disk mappings.

Definition at line 106 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAvailabilityZone() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 177 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAvailabilityZone() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 187 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAvailabilityZone() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 197 of file CreateInstancesFromSnapshotRequest.h.

◆ SetBundleId() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId ( const Aws::String value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 327 of file CreateInstancesFromSnapshotRequest.h.

◆ SetBundleId() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId ( Aws::String &&  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 333 of file CreateInstancesFromSnapshotRequest.h.

◆ SetBundleId() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId ( const char *  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 339 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceNames() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceNames ( const Aws::Vector< Aws::String > &  value)
inline

The names for your new instances.

Definition at line 55 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceNames() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceNames ( Aws::Vector< Aws::String > &&  value)
inline

The names for your new instances.

Definition at line 60 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceSnapshotName() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName ( const Aws::String value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 258 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceSnapshotName() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName ( Aws::String &&  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 268 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceSnapshotName() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName ( const char *  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 278 of file CreateInstancesFromSnapshotRequest.h.

◆ SetKeyPairName() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName ( const Aws::String value)
inline

The name for your key pair.

Definition at line 470 of file CreateInstancesFromSnapshotRequest.h.

◆ SetKeyPairName() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName ( Aws::String &&  value)
inline

The name for your key pair.

Definition at line 475 of file CreateInstancesFromSnapshotRequest.h.

◆ SetKeyPairName() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName ( const char *  value)
inline

The name for your key pair.

Definition at line 480 of file CreateInstancesFromSnapshotRequest.h.

◆ SetRestoreDate() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate ( const Aws::String value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 752 of file CreateInstancesFromSnapshotRequest.h.

◆ SetRestoreDate() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate ( Aws::String &&  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 767 of file CreateInstancesFromSnapshotRequest.h.

◆ SetRestoreDate() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate ( const char *  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 782 of file CreateInstancesFromSnapshotRequest.h.

◆ SetSourceInstanceName() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName ( const Aws::String value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 641 of file CreateInstancesFromSnapshotRequest.h.

◆ SetSourceInstanceName() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName ( Aws::String &&  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 654 of file CreateInstancesFromSnapshotRequest.h.

◆ SetSourceInstanceName() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName ( const char *  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 667 of file CreateInstancesFromSnapshotRequest.h.

◆ SetTags() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

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.

Definition at line 517 of file CreateInstancesFromSnapshotRequest.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

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.

Definition at line 524 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUseLatestRestorableAutoSnapshot()

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUseLatestRestorableAutoSnapshot ( bool  value)
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 864 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUserData() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData ( const Aws::String value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 394 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUserData() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData ( Aws::String &&  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 406 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUserData() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData ( const char *  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 418 of file CreateInstancesFromSnapshotRequest.h.

◆ SourceInstanceNameHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SourceInstanceNameHasBeenSet ( ) const
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 628 of file CreateInstancesFromSnapshotRequest.h.

◆ TagsHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::TagsHasBeenSet ( ) const
inline

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.

Definition at line 510 of file CreateInstancesFromSnapshotRequest.h.

◆ UseLatestRestorableAutoSnapshotHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::UseLatestRestorableAutoSnapshotHasBeenSet ( ) const
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 852 of file CreateInstancesFromSnapshotRequest.h.

◆ UserDataHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::UserDataHasBeenSet ( ) const
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 382 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAddOns() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAddOns ( const Aws::Vector< AddOnRequest > &  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 583 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAddOns() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAddOns ( Aws::Vector< AddOnRequest > &&  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 589 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAttachedDiskMapping() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAttachedDiskMapping ( const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &  value)
inline

An object containing information about one or more disk mappings.

Definition at line 111 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAttachedDiskMapping() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAttachedDiskMapping ( Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&  value)
inline

An object containing information about one or more disk mappings.

Definition at line 116 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAvailabilityZone() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 207 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAvailabilityZone() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 217 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAvailabilityZone() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 227 of file CreateInstancesFromSnapshotRequest.h.

◆ WithBundleId() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId ( const Aws::String value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 345 of file CreateInstancesFromSnapshotRequest.h.

◆ WithBundleId() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId ( Aws::String &&  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 351 of file CreateInstancesFromSnapshotRequest.h.

◆ WithBundleId() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId ( const char *  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 357 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceNames() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceNames ( const Aws::Vector< Aws::String > &  value)
inline

The names for your new instances.

Definition at line 65 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceNames() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceNames ( Aws::Vector< Aws::String > &&  value)
inline

The names for your new instances.

Definition at line 70 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceSnapshotName() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName ( const Aws::String value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 288 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceSnapshotName() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName ( Aws::String &&  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 298 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceSnapshotName() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName ( const char *  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 308 of file CreateInstancesFromSnapshotRequest.h.

◆ WithKeyPairName() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName ( const Aws::String value)
inline

The name for your key pair.

Definition at line 485 of file CreateInstancesFromSnapshotRequest.h.

◆ WithKeyPairName() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName ( Aws::String &&  value)
inline

The name for your key pair.

Definition at line 490 of file CreateInstancesFromSnapshotRequest.h.

◆ WithKeyPairName() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName ( const char *  value)
inline

The name for your key pair.

Definition at line 495 of file CreateInstancesFromSnapshotRequest.h.

◆ WithRestoreDate() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate ( const Aws::String value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 797 of file CreateInstancesFromSnapshotRequest.h.

◆ WithRestoreDate() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate ( Aws::String &&  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 812 of file CreateInstancesFromSnapshotRequest.h.

◆ WithRestoreDate() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate ( const char *  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 827 of file CreateInstancesFromSnapshotRequest.h.

◆ WithSourceInstanceName() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName ( const Aws::String value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 680 of file CreateInstancesFromSnapshotRequest.h.

◆ WithSourceInstanceName() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName ( Aws::String &&  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 693 of file CreateInstancesFromSnapshotRequest.h.

◆ WithSourceInstanceName() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName ( const char *  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 706 of file CreateInstancesFromSnapshotRequest.h.

◆ WithTags() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

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.

Definition at line 531 of file CreateInstancesFromSnapshotRequest.h.

◆ WithTags() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

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.

Definition at line 538 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUseLatestRestorableAutoSnapshot()

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUseLatestRestorableAutoSnapshot ( bool  value)
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Lightsail Dev Guide.

Definition at line 876 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUserData() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData ( const Aws::String value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 430 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUserData() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData ( Aws::String &&  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 442 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUserData() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData ( const char *  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Definition at line 454 of file CreateInstancesFromSnapshotRequest.h.


The documentation for this class was generated from the following file: