[][src]Struct rusoto_opsworkscm::RestoreServerRequest

pub struct RestoreServerRequest {
    pub backup_id: String,
    pub instance_type: Option<String>,
    pub key_pair: Option<String>,
    pub server_name: String,
}

Fields

backup_id: String

The ID of the backup that you want to use to restore a server.

instance_type: Option<String>

The type of the instance to create. Valid values must be specified in the following format: ^([cm][34]|t2).* For example, m5.large. Valid values are m5.large, r5.xlarge, and r5.2xlarge. If you do not specify this parameter, RestoreServer uses the instance type from the specified backup.

key_pair: Option<String>

The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has the SSH key.

server_name: String

The name of the server that you want to restore.

Trait Implementations

impl PartialEq<RestoreServerRequest> for RestoreServerRequest[src]

impl Default for RestoreServerRequest[src]

impl Clone for RestoreServerRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RestoreServerRequest[src]

impl Serialize for RestoreServerRequest[src]

Auto Trait Implementations

impl Send for RestoreServerRequest

impl Sync for RestoreServerRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self