Cloneable
, ReadLimitInfo
, ToCopyableBuilder<RestoreServerRequest.Builder,RestoreServerRequest>
@Generated("software.amazon.awssdk:codegen") public class RestoreServerRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<RestoreServerRequest.Builder,RestoreServerRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
RestoreServerRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
backupId() |
The ID of the backup that you want to use to restore a server.
|
static RestoreServerRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceType() |
The type of the instance to create.
|
String |
keyPair() |
The name of the key pair to set on the new EC2 instance.
|
static Class<? extends RestoreServerRequest.Builder> |
serializableBuilderClass() |
|
String |
serverName() |
The name of the server that you want to restore.
|
RestoreServerRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String backupId()
The ID of the backup that you want to use to restore a server.
public String serverName()
The name of the server that you want to restore.
public 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.
^([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.public 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.
public RestoreServerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RestoreServerRequest.Builder,RestoreServerRequest>
public static RestoreServerRequest.Builder builder()
public static Class<? extends RestoreServerRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.