public static interface RestoreServerRequest.Builder extends OpsWorksCmRequest.Builder, SdkPojo, 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 instance to restore.
|
RestoreServerRequest.Builder |
keyPair(String keyPair)
The name of the key pair to set on the new EC2 instance.
|
RestoreServerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RestoreServerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
RestoreServerRequest.Builder |
serverName(String serverName)
The name of the server that you want to restore.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildRestoreServerRequest.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 instance to restore. 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.
instanceType - The type of instance to restore. 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.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderRestoreServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.