Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateInstancesFromSnapshotRequest.Builder,CreateInstancesFromSnapshotRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateInstancesFromSnapshotRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateInstancesFromSnapshotRequest.Builder,CreateInstancesFromSnapshotRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateInstancesFromSnapshotRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
availabilityZone() |
The Availability Zone where you want to create your instances.
|
static CreateInstancesFromSnapshotRequest.Builder |
builder() |
|
String |
bundleId() |
The bundle of specification information for your virtual private server (or instance), including the
pricing plan (e.g.,
micro_1_0 ). |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<String> |
instanceNames() |
The names for your new instances.
|
String |
instanceSnapshotName() |
The name of the instance snapshot on which you are basing your new instances.
|
String |
keyPairName() |
The name for your key pair.
|
static Class<? extends CreateInstancesFromSnapshotRequest.Builder> |
serializableBuilderClass() |
|
CreateInstancesFromSnapshotRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
userData() |
You can create a launch script that configures a server with additional user data.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public List<String> instanceNames()
The names for your new instances.
public String availabilityZone()
The Availability Zone where you want to create your instances. Use the following formatting:
us-east-1a
(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.
us-east-1a
(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.public 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.
public String bundleId()
The bundle of specification information for your virtual private server (or instance), including the
pricing plan (e.g., micro_1_0
).
micro_1_0
).public 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.
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.
public String keyPairName()
The name for your key pair.
public CreateInstancesFromSnapshotRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateInstancesFromSnapshotRequest.Builder,CreateInstancesFromSnapshotRequest>
public static CreateInstancesFromSnapshotRequest.Builder builder()
public static Class<? extends CreateInstancesFromSnapshotRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.