public static interface CreateInstancesFromSnapshotRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<CreateInstancesFromSnapshotRequest.Builder,CreateInstancesFromSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CreateInstancesFromSnapshotRequest.Builder |
attachedDiskMapping(Map<String,? extends Collection<DiskMap>> attachedDiskMapping)
An object containing information about one or more disk mappings.
|
CreateInstancesFromSnapshotRequest.Builder |
availabilityZone(String availabilityZone)
The Availability Zone where you want to create your instances.
|
CreateInstancesFromSnapshotRequest.Builder |
bundleId(String bundleId)
The bundle of specification information for your virtual private server (or instance), including the
pricing plan (e.g.,
micro_1_0 ). |
CreateInstancesFromSnapshotRequest.Builder |
instanceNames(Collection<String> instanceNames)
The names for your new instances.
|
CreateInstancesFromSnapshotRequest.Builder |
instanceNames(String... instanceNames)
The names for your new instances.
|
CreateInstancesFromSnapshotRequest.Builder |
instanceSnapshotName(String instanceSnapshotName)
The name of the instance snapshot on which you are basing your new instances.
|
CreateInstancesFromSnapshotRequest.Builder |
keyPairName(String keyPairName)
The name for your key pair.
|
CreateInstancesFromSnapshotRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateInstancesFromSnapshotRequest.Builder |
userData(String userData)
You can create a launch script that configures a server with additional user data.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateInstancesFromSnapshotRequest.Builder instanceNames(Collection<String> instanceNames)
The names for your new instances.
instanceNames
- The names for your new instances.CreateInstancesFromSnapshotRequest.Builder instanceNames(String... instanceNames)
The names for your new instances.
instanceNames
- The names for your new instances.CreateInstancesFromSnapshotRequest.Builder attachedDiskMapping(Map<String,? extends Collection<DiskMap>> attachedDiskMapping)
An object containing information about one or more disk mappings.
attachedDiskMapping
- An object containing information about one or more disk mappings.CreateInstancesFromSnapshotRequest.Builder availabilityZone(String availabilityZone)
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.
availabilityZone
- 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.CreateInstancesFromSnapshotRequest.Builder instanceSnapshotName(String instanceSnapshotName)
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.
instanceSnapshotName
- 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.CreateInstancesFromSnapshotRequest.Builder bundleId(String bundleId)
The bundle of specification information for your virtual private server (or instance), including the
pricing plan (e.g., micro_1_0
).
bundleId
- The bundle of specification information for your virtual private server (or instance),
including the pricing plan (e.g., micro_1_0
).CreateInstancesFromSnapshotRequest.Builder userData(String userData)
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.
userData
- 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.
CreateInstancesFromSnapshotRequest.Builder keyPairName(String keyPairName)
The name for your key pair.
keyPairName
- The name for your key pair.CreateInstancesFromSnapshotRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.