@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstancesFromSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateInstancesFromSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInstancesFromSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone where you want to create your instances.
|
String |
getBundleId()
The bundle of specification information for your virtual private server (or instance), including the
pricing plan (e.g.,
micro_1_0 ). |
List<String> |
getInstanceNames()
The names for your new instances.
|
String |
getInstanceSnapshotName()
The name of the instance snapshot on which you are basing your new instances.
|
String |
getKeyPairName()
The name for your key pair.
|
String |
getUserData()
You can create a launch script that configures a server with additional user data.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone where you want to create your instances.
|
void |
setBundleId(String bundleId)
The bundle of specification information for your virtual private server (or instance), including the
pricing plan (e.g.,
micro_1_0 ). |
void |
setInstanceNames(Collection<String> instanceNames)
The names for your new instances.
|
void |
setInstanceSnapshotName(String instanceSnapshotName)
The name of the instance snapshot on which you are basing your new instances.
|
void |
setKeyPairName(String keyPairName)
The name for your key pair.
|
void |
setUserData(String userData)
You can create a launch script that configures a server with additional user data.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateInstancesFromSnapshotRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone where you want to create your instances.
|
CreateInstancesFromSnapshotRequest |
withBundleId(String bundleId)
The bundle of specification information for your virtual private server (or instance), including the
pricing plan (e.g.,
micro_1_0 ). |
CreateInstancesFromSnapshotRequest |
withInstanceNames(Collection<String> instanceNames)
The names for your new instances.
|
CreateInstancesFromSnapshotRequest |
withInstanceNames(String... instanceNames)
The names for your new instances.
|
CreateInstancesFromSnapshotRequest |
withInstanceSnapshotName(String instanceSnapshotName)
The name of the instance snapshot on which you are basing your new instances.
|
CreateInstancesFromSnapshotRequest |
withKeyPairName(String keyPairName)
The name for your key pair.
|
CreateInstancesFromSnapshotRequest |
withUserData(String userData)
You can create a launch script that configures a server with additional user data.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getInstanceNames()
The names for your new instances.
public void setInstanceNames(Collection<String> instanceNames)
The names for your new instances.
instanceNames
- The names for your new instances.public CreateInstancesFromSnapshotRequest withInstanceNames(String... instanceNames)
The names for your new instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceNames(java.util.Collection)
or withInstanceNames(java.util.Collection)
if you want
to override the existing values.
instanceNames
- The names for your new instances.public CreateInstancesFromSnapshotRequest withInstanceNames(Collection<String> instanceNames)
The names for your new instances.
instanceNames
- The names for your new instances.public void setAvailabilityZone(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.
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.public String getAvailabilityZone()
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 CreateInstancesFromSnapshotRequest withAvailabilityZone(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.
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.public void setInstanceSnapshotName(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.public String getInstanceSnapshotName()
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 CreateInstancesFromSnapshotRequest withInstanceSnapshotName(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.public void setBundleId(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
).public String getBundleId()
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 CreateInstancesFromSnapshotRequest withBundleId(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
).public void setUserData(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.
public String getUserData()
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 CreateInstancesFromSnapshotRequest withUserData(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.
public void setKeyPairName(String keyPairName)
The name for your key pair.
keyPairName
- The name for your key pair.public String getKeyPairName()
The name for your key pair.
public CreateInstancesFromSnapshotRequest withKeyPairName(String keyPairName)
The name for your key pair.
keyPairName
- The name for your key pair.public String toString()
toString
in class Object
Object.toString()
public CreateInstancesFromSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.