Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateInstancesRequest.Builder,CreateInstancesRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateInstancesRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateInstancesRequest.Builder,CreateInstancesRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateInstancesRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
availabilityZone() |
The Availability Zone in which to create your instance.
|
String |
blueprintId() |
The ID for a virtual private server image (e.g.,
app_wordpress_4_4 or app_lamp_7_0 ). |
static CreateInstancesRequest.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 ). |
String |
customImageName() |
(Deprecated) The name for your custom image.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<String> |
instanceNames() |
The names to use for your new Lightsail instances.
|
String |
keyPairName() |
The name of your key pair.
|
static Class<? extends CreateInstancesRequest.Builder> |
serializableBuilderClass() |
|
CreateInstancesRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
userData() |
A launch script you can create 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 to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for
example: ["MyFirstInstance","MySecondInstance"]
["MyFirstInstance","MySecondInstance"]
public String availabilityZone()
The Availability Zone in which to create your instance. Use the following format: 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 customImageName()
(Deprecated) The name for your custom image.
In releases prior to June 12, 2017, this parameter was ignored by the API. It is now deprecated.
In releases prior to June 12, 2017, this parameter was ignored by the API. It is now deprecated.
public String blueprintId()
The ID for a virtual private server image (e.g., app_wordpress_4_4
or app_lamp_7_0
).
Use the get blueprints operation to return a list of available images (or blueprints).
app_wordpress_4_4
or
app_lamp_7_0
). Use the get blueprints operation to return a list of available images (or
blueprints).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()
A launch script you can create that configures a server with additional user data. For example, you might want to
run 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 of your key pair.
public CreateInstancesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateInstancesRequest.Builder,CreateInstancesRequest>
public static CreateInstancesRequest.Builder builder()
public static Class<? extends CreateInstancesRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.