@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableFastLaunchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
EnableFastLaunchResult() |
Modifier and Type | Method and Description |
---|---|
EnableFastLaunchResult |
clone() |
boolean |
equals(Object obj) |
String |
getImageId()
The image ID that identifies the AMI for which Windows fast launch was enabled.
|
FastLaunchLaunchTemplateSpecificationResponse |
getLaunchTemplate()
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
|
Integer |
getMaxParallelLaunches()
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots
for Windows fast launch.
|
String |
getOwnerId()
The owner ID for the AMI for which Windows fast launch was enabled.
|
String |
getResourceType()
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
|
FastLaunchSnapshotConfigurationResponse |
getSnapshotConfiguration()
Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the
Windows AMI.
|
String |
getState()
The current state of Windows fast launch for the specified AMI.
|
String |
getStateTransitionReason()
The reason that the state changed for Windows fast launch for the AMI.
|
Date |
getStateTransitionTime()
The time that the state changed for Windows fast launch for the AMI.
|
int |
hashCode() |
void |
setImageId(String imageId)
The image ID that identifies the AMI for which Windows fast launch was enabled.
|
void |
setLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
|
void |
setMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots
for Windows fast launch.
|
void |
setOwnerId(String ownerId)
The owner ID for the AMI for which Windows fast launch was enabled.
|
void |
setResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
|
void |
setSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the
Windows AMI.
|
void |
setState(String state)
The current state of Windows fast launch for the specified AMI.
|
void |
setStateTransitionReason(String stateTransitionReason)
The reason that the state changed for Windows fast launch for the AMI.
|
void |
setStateTransitionTime(Date stateTransitionTime)
The time that the state changed for Windows fast launch for the AMI.
|
String |
toString()
Returns a string representation of this object.
|
EnableFastLaunchResult |
withImageId(String imageId)
The image ID that identifies the AMI for which Windows fast launch was enabled.
|
EnableFastLaunchResult |
withLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
|
EnableFastLaunchResult |
withMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots
for Windows fast launch.
|
EnableFastLaunchResult |
withOwnerId(String ownerId)
The owner ID for the AMI for which Windows fast launch was enabled.
|
EnableFastLaunchResult |
withResourceType(FastLaunchResourceType resourceType)
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
|
EnableFastLaunchResult |
withResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
|
EnableFastLaunchResult |
withSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the
Windows AMI.
|
EnableFastLaunchResult |
withState(FastLaunchStateCode state)
The current state of Windows fast launch for the specified AMI.
|
EnableFastLaunchResult |
withState(String state)
The current state of Windows fast launch for the specified AMI.
|
EnableFastLaunchResult |
withStateTransitionReason(String stateTransitionReason)
The reason that the state changed for Windows fast launch for the AMI.
|
EnableFastLaunchResult |
withStateTransitionTime(Date stateTransitionTime)
The time that the state changed for Windows fast launch for the AMI.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImageId(String imageId)
The image ID that identifies the AMI for which Windows fast launch was enabled.
imageId
- The image ID that identifies the AMI for which Windows fast launch was enabled.public String getImageId()
The image ID that identifies the AMI for which Windows fast launch was enabled.
public EnableFastLaunchResult withImageId(String imageId)
The image ID that identifies the AMI for which Windows fast launch was enabled.
imageId
- The image ID that identifies the AMI for which Windows fast launch was enabled.public void setResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
resourceType
- The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.FastLaunchResourceType
public String getResourceType()
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
FastLaunchResourceType
public EnableFastLaunchResult withResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
resourceType
- The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.FastLaunchResourceType
public EnableFastLaunchResult withResourceType(FastLaunchResourceType resourceType)
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
resourceType
- The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.FastLaunchResourceType
public void setSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the
Windows AMI. This property is returned when the associated resourceType
is snapshot
.
snapshotConfiguration
- Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from
the Windows AMI. This property is returned when the associated resourceType
is
snapshot
.public FastLaunchSnapshotConfigurationResponse getSnapshotConfiguration()
Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the
Windows AMI. This property is returned when the associated resourceType
is snapshot
.
resourceType
is
snapshot
.public EnableFastLaunchResult withSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the
Windows AMI. This property is returned when the associated resourceType
is snapshot
.
snapshotConfiguration
- Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from
the Windows AMI. This property is returned when the associated resourceType
is
snapshot
.public void setLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
launchTemplate
- The launch template that is used when launching Windows instances from pre-provisioned snapshots.public FastLaunchLaunchTemplateSpecificationResponse getLaunchTemplate()
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
public EnableFastLaunchResult withLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
launchTemplate
- The launch template that is used when launching Windows instances from pre-provisioned snapshots.public void setMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
maxParallelLaunches
- The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned
snapshots for Windows fast launch.public Integer getMaxParallelLaunches()
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
public EnableFastLaunchResult withMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
maxParallelLaunches
- The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned
snapshots for Windows fast launch.public void setOwnerId(String ownerId)
The owner ID for the AMI for which Windows fast launch was enabled.
ownerId
- The owner ID for the AMI for which Windows fast launch was enabled.public String getOwnerId()
The owner ID for the AMI for which Windows fast launch was enabled.
public EnableFastLaunchResult withOwnerId(String ownerId)
The owner ID for the AMI for which Windows fast launch was enabled.
ownerId
- The owner ID for the AMI for which Windows fast launch was enabled.public void setState(String state)
The current state of Windows fast launch for the specified AMI.
state
- The current state of Windows fast launch for the specified AMI.FastLaunchStateCode
public String getState()
The current state of Windows fast launch for the specified AMI.
FastLaunchStateCode
public EnableFastLaunchResult withState(String state)
The current state of Windows fast launch for the specified AMI.
state
- The current state of Windows fast launch for the specified AMI.FastLaunchStateCode
public EnableFastLaunchResult withState(FastLaunchStateCode state)
The current state of Windows fast launch for the specified AMI.
state
- The current state of Windows fast launch for the specified AMI.FastLaunchStateCode
public void setStateTransitionReason(String stateTransitionReason)
The reason that the state changed for Windows fast launch for the AMI.
stateTransitionReason
- The reason that the state changed for Windows fast launch for the AMI.public String getStateTransitionReason()
The reason that the state changed for Windows fast launch for the AMI.
public EnableFastLaunchResult withStateTransitionReason(String stateTransitionReason)
The reason that the state changed for Windows fast launch for the AMI.
stateTransitionReason
- The reason that the state changed for Windows fast launch for the AMI.public void setStateTransitionTime(Date stateTransitionTime)
The time that the state changed for Windows fast launch for the AMI.
stateTransitionTime
- The time that the state changed for Windows fast launch for the AMI.public Date getStateTransitionTime()
The time that the state changed for Windows fast launch for the AMI.
public EnableFastLaunchResult withStateTransitionTime(Date stateTransitionTime)
The time that the state changed for Windows fast launch for the AMI.
stateTransitionTime
- The time that the state changed for Windows fast launch for the AMI.public String toString()
toString
in class Object
Object.toString()
public EnableFastLaunchResult clone()