public static interface RestoreServerRequest.Builder extends OpsWorksCMRequest.Builder, CopyableBuilder<RestoreServerRequest.Builder,RestoreServerRequest>
Modifier and Type | Method and Description |
---|---|
RestoreServerRequest.Builder |
backupId(String backupId)
The ID of the backup that you want to use to restore a server.
|
RestoreServerRequest.Builder |
instanceType(String instanceType)
The type of the instance to create.
|
RestoreServerRequest.Builder |
keyPair(String keyPair)
The name of the key pair to set on the new EC2 instance.
|
RestoreServerRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
RestoreServerRequest.Builder |
serverName(String serverName)
The name of the server that you want to restore.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
RestoreServerRequest.Builder backupId(String backupId)
The ID of the backup that you want to use to restore a server.
backupId
- The ID of the backup that you want to use to restore a server.RestoreServerRequest.Builder serverName(String serverName)
The name of the server that you want to restore.
serverName
- The name of the server that you want to restore.RestoreServerRequest.Builder instanceType(String instanceType)
The type of the instance to create. Valid values must be specified in the following format:
^([cm][34]|t2).*
For example, m4.large
. Valid values are t2.medium
,
m4.large
, and m4.2xlarge
. If you do not specify this parameter, RestoreServer uses
the instance type from the specified backup.
instanceType
- The type of the instance to create. Valid values must be specified in the following format:
^([cm][34]|t2).*
For example, m4.large
. Valid values are
t2.medium
, m4.large
, and m4.2xlarge
. If you do not specify this
parameter, RestoreServer uses the instance type from the specified backup.RestoreServerRequest.Builder keyPair(String keyPair)
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.
keyPair
- 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.RestoreServerRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.