@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableFastLaunchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<EnableFastLaunchRequest>
NOOP
Constructor and Description |
---|
EnableFastLaunchRequest() |
Modifier and Type | Method and Description |
---|---|
EnableFastLaunchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<EnableFastLaunchRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageId()
The ID of the image for which you’re enabling faster launching.
|
FastLaunchLaunchTemplateSpecificationRequest |
getLaunchTemplate()
The launch template to use when launching Windows instances from pre-provisioned snapshots.
|
Integer |
getMaxParallelLaunches()
The maximum number of parallel instances to launch for creating resources.
|
String |
getResourceType()
The type of resource to use for pre-provisioning the Windows AMI for faster launching.
|
FastLaunchSnapshotConfigurationRequest |
getSnapshotConfiguration()
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI
for faster launching.
|
int |
hashCode() |
void |
setImageId(String imageId)
The ID of the image for which you’re enabling faster launching.
|
void |
setLaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots.
|
void |
setMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances to launch for creating resources.
|
void |
setResourceType(String resourceType)
The type of resource to use for pre-provisioning the Windows AMI for faster launching.
|
void |
setSnapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI
for faster launching.
|
String |
toString()
Returns a string representation of this object.
|
EnableFastLaunchRequest |
withImageId(String imageId)
The ID of the image for which you’re enabling faster launching.
|
EnableFastLaunchRequest |
withLaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots.
|
EnableFastLaunchRequest |
withMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances to launch for creating resources.
|
EnableFastLaunchRequest |
withResourceType(String resourceType)
The type of resource to use for pre-provisioning the Windows AMI for faster launching.
|
EnableFastLaunchRequest |
withSnapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI
for faster launching.
|
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 void setImageId(String imageId)
The ID of the image for which you’re enabling faster launching.
imageId
- The ID of the image for which you’re enabling faster launching.public String getImageId()
The ID of the image for which you’re enabling faster launching.
public EnableFastLaunchRequest withImageId(String imageId)
The ID of the image for which you’re enabling faster launching.
imageId
- The ID of the image for which you’re enabling faster launching.public void setResourceType(String resourceType)
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include:
snapshot
, which is the default value.
resourceType
- The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values
include: snapshot
, which is the default value.public String getResourceType()
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include:
snapshot
, which is the default value.
snapshot
, which is the default value.public EnableFastLaunchRequest withResourceType(String resourceType)
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include:
snapshot
, which is the default value.
resourceType
- The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values
include: snapshot
, which is the default value.public void setSnapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI
for faster launching. The associated ResourceType
must be snapshot
.
snapshotConfiguration
- Configuration settings for creating and managing the snapshots that are used for pre-provisioning the
Windows AMI for faster launching. The associated ResourceType
must be snapshot
.public FastLaunchSnapshotConfigurationRequest getSnapshotConfiguration()
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI
for faster launching. The associated ResourceType
must be snapshot
.
ResourceType
must be snapshot
.public EnableFastLaunchRequest withSnapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI
for faster launching. The associated ResourceType
must be snapshot
.
snapshotConfiguration
- Configuration settings for creating and managing the snapshots that are used for pre-provisioning the
Windows AMI for faster launching. The associated ResourceType
must be snapshot
.public void setLaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
launchTemplate
- The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch
template parameters can include either the name or ID of the launch template, but not both.public FastLaunchLaunchTemplateSpecificationRequest getLaunchTemplate()
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
public EnableFastLaunchRequest withLaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
launchTemplate
- The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch
template parameters can include either the name or ID of the launch template, but not both.public void setMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances to launch for creating resources. Value must be 6
or
greater.
maxParallelLaunches
- The maximum number of parallel instances to launch for creating resources. Value must be 6
or
greater.public Integer getMaxParallelLaunches()
The maximum number of parallel instances to launch for creating resources. Value must be 6
or
greater.
6
or greater.public EnableFastLaunchRequest withMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances to launch for creating resources. Value must be 6
or
greater.
maxParallelLaunches
- The maximum number of parallel instances to launch for creating resources. Value must be 6
or
greater.public Request<EnableFastLaunchRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<EnableFastLaunchRequest>
public String toString()
toString
in class Object
Object.toString()
public EnableFastLaunchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()