@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FastLaunchConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Define and configure faster launching for output Windows AMIs.
Constructor and Description |
---|
FastLaunchConfiguration() |
Modifier and Type | Method and Description |
---|---|
FastLaunchConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The owner account ID for the fast-launch enabled Windows AMI.
|
Boolean |
getEnabled()
A Boolean that represents the current state of faster launching for the Windows AMI.
|
FastLaunchLaunchTemplateSpecification |
getLaunchTemplate()
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create
pre-provisioned snapshots.
|
Integer |
getMaxParallelLaunches()
The maximum number of parallel instances that are launched for creating resources.
|
FastLaunchSnapshotConfiguration |
getSnapshotConfiguration()
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for
the Windows AMI when faster launching is enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
A Boolean that represents the current state of faster launching for the Windows AMI.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The owner account ID for the fast-launch enabled Windows AMI.
|
void |
setEnabled(Boolean enabled)
A Boolean that represents the current state of faster launching for the Windows AMI.
|
void |
setLaunchTemplate(FastLaunchLaunchTemplateSpecification launchTemplate)
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create
pre-provisioned snapshots.
|
void |
setMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances that are launched for creating resources.
|
void |
setSnapshotConfiguration(FastLaunchSnapshotConfiguration snapshotConfiguration)
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for
the Windows AMI when faster launching is enabled.
|
String |
toString()
Returns a string representation of this object.
|
FastLaunchConfiguration |
withAccountId(String accountId)
The owner account ID for the fast-launch enabled Windows AMI.
|
FastLaunchConfiguration |
withEnabled(Boolean enabled)
A Boolean that represents the current state of faster launching for the Windows AMI.
|
FastLaunchConfiguration |
withLaunchTemplate(FastLaunchLaunchTemplateSpecification launchTemplate)
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create
pre-provisioned snapshots.
|
FastLaunchConfiguration |
withMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances that are launched for creating resources.
|
FastLaunchConfiguration |
withSnapshotConfiguration(FastLaunchSnapshotConfiguration snapshotConfiguration)
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for
the Windows AMI when faster launching is enabled.
|
public void setEnabled(Boolean enabled)
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to
start using Windows faster launching, or false
to stop using it.
enabled
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to
true
to start using Windows faster launching, or false
to stop using it.public Boolean getEnabled()
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to
start using Windows faster launching, or false
to stop using it.
true
to start using Windows faster launching, or false
to stop using it.public FastLaunchConfiguration withEnabled(Boolean enabled)
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to
start using Windows faster launching, or false
to stop using it.
enabled
- A Boolean that represents the current state of faster launching for the Windows AMI. Set to
true
to start using Windows faster launching, or false
to stop using it.public Boolean isEnabled()
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to
start using Windows faster launching, or false
to stop using it.
true
to start using Windows faster launching, or false
to stop using it.public void setSnapshotConfiguration(FastLaunchSnapshotConfiguration snapshotConfiguration)
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
snapshotConfiguration
- Configuration settings for managing the number of snapshots that are created from pre-provisioned
instances for the Windows AMI when faster launching is enabled.public FastLaunchSnapshotConfiguration getSnapshotConfiguration()
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
public FastLaunchConfiguration withSnapshotConfiguration(FastLaunchSnapshotConfiguration snapshotConfiguration)
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
snapshotConfiguration
- Configuration settings for managing the number of snapshots that are created from pre-provisioned
instances for the Windows AMI when faster launching is enabled.public void setMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances that are launched for creating resources.
maxParallelLaunches
- The maximum number of parallel instances that are launched for creating resources.public Integer getMaxParallelLaunches()
The maximum number of parallel instances that are launched for creating resources.
public FastLaunchConfiguration withMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances that are launched for creating resources.
maxParallelLaunches
- The maximum number of parallel instances that are launched for creating resources.public void setLaunchTemplate(FastLaunchLaunchTemplateSpecification launchTemplate)
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
launchTemplate
- The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to
create pre-provisioned snapshots.public FastLaunchLaunchTemplateSpecification getLaunchTemplate()
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
public FastLaunchConfiguration withLaunchTemplate(FastLaunchLaunchTemplateSpecification launchTemplate)
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
launchTemplate
- The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to
create pre-provisioned snapshots.public void setAccountId(String accountId)
The owner account ID for the fast-launch enabled Windows AMI.
accountId
- The owner account ID for the fast-launch enabled Windows AMI.public String getAccountId()
The owner account ID for the fast-launch enabled Windows AMI.
public FastLaunchConfiguration withAccountId(String accountId)
The owner account ID for the fast-launch enabled Windows AMI.
accountId
- The owner account ID for the fast-launch enabled Windows AMI.public String toString()
toString
in class Object
Object.toString()
public FastLaunchConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.