@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 Windows AMI for which faster launching was enabled.
|
FastLaunchLaunchTemplateSpecificationResponse |
getLaunchTemplate()
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
|
Integer |
getMaxParallelLaunches()
The maximum number of parallel instances to launch for creating resources.
|
String |
getOwnerId()
The owner ID for the Windows AMI for which faster launching was enabled.
|
String |
getResourceType()
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
|
FastLaunchSnapshotConfigurationResponse |
getSnapshotConfiguration()
The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster
launching of the Windows AMI.
|
String |
getState()
The current state of faster launching for the specified Windows AMI.
|
String |
getStateTransitionReason()
The reason that the state changed for faster launching for the Windows AMI.
|
Date |
getStateTransitionTime()
The time that the state changed for faster launching for the Windows AMI.
|
int |
hashCode() |
void |
setImageId(String imageId)
The image ID that identifies the Windows AMI for which faster launching 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 parallel instances to launch for creating resources.
|
void |
setOwnerId(String ownerId)
The owner ID for the Windows AMI for which faster launching was enabled.
|
void |
setResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
|
void |
setSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster
launching of the Windows AMI.
|
void |
setState(String state)
The current state of faster launching for the specified Windows AMI.
|
void |
setStateTransitionReason(String stateTransitionReason)
The reason that the state changed for faster launching for the Windows AMI.
|
void |
setStateTransitionTime(Date stateTransitionTime)
The time that the state changed for faster launching for the Windows AMI.
|
String |
toString()
Returns a string representation of this object.
|
EnableFastLaunchResult |
withImageId(String imageId)
The image ID that identifies the Windows AMI for which faster launching 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 parallel instances to launch for creating resources.
|
EnableFastLaunchResult |
withOwnerId(String ownerId)
The owner ID for the Windows AMI for which faster launching was enabled.
|
EnableFastLaunchResult |
withResourceType(FastLaunchResourceType resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
|
EnableFastLaunchResult |
withResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
|
EnableFastLaunchResult |
withSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster
launching of the Windows AMI.
|
EnableFastLaunchResult |
withState(FastLaunchStateCode state)
The current state of faster launching for the specified Windows AMI.
|
EnableFastLaunchResult |
withState(String state)
The current state of faster launching for the specified Windows AMI.
|
EnableFastLaunchResult |
withStateTransitionReason(String stateTransitionReason)
The reason that the state changed for faster launching for the Windows AMI.
|
EnableFastLaunchResult |
withStateTransitionTime(Date stateTransitionTime)
The time that the state changed for faster launching for the Windows AMI.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImageId(String imageId)
The image ID that identifies the Windows AMI for which faster launching was enabled.
imageId
- The image ID that identifies the Windows AMI for which faster launching was enabled.public String getImageId()
The image ID that identifies the Windows AMI for which faster launching was enabled.
public EnableFastLaunchResult withImageId(String imageId)
The image ID that identifies the Windows AMI for which faster launching was enabled.
imageId
- The image ID that identifies the Windows AMI for which faster launching was enabled.public void setResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
resourceType
- The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.FastLaunchResourceType
public String getResourceType()
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
FastLaunchResourceType
public EnableFastLaunchResult withResourceType(String resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
resourceType
- The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.FastLaunchResourceType
public EnableFastLaunchResult withResourceType(FastLaunchResourceType resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
resourceType
- The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.FastLaunchResourceType
public void setSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster
launching of the Windows AMI. This property is returned when the associated resourceType
is
snapshot
.
snapshotConfiguration
- The configuration settings that were defined for creating and managing the pre-provisioned snapshots for
faster launching of the Windows AMI. This property is returned when the associated
resourceType
is snapshot
.public FastLaunchSnapshotConfigurationResponse getSnapshotConfiguration()
The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster
launching of the Windows AMI. This property is returned when the associated resourceType
is
snapshot
.
resourceType
is snapshot
.public EnableFastLaunchResult withSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster
launching of the Windows AMI. This property is returned when the associated resourceType
is
snapshot
.
snapshotConfiguration
- The configuration settings that were defined for creating and managing the pre-provisioned snapshots for
faster launching of 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 parallel instances to launch for creating resources.
maxParallelLaunches
- The maximum number of parallel instances to launch for creating resources.public Integer getMaxParallelLaunches()
The maximum number of parallel instances to launch for creating resources.
public EnableFastLaunchResult withMaxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances to launch for creating resources.
maxParallelLaunches
- The maximum number of parallel instances to launch for creating resources.public void setOwnerId(String ownerId)
The owner ID for the Windows AMI for which faster launching was enabled.
ownerId
- The owner ID for the Windows AMI for which faster launching was enabled.public String getOwnerId()
The owner ID for the Windows AMI for which faster launching was enabled.
public EnableFastLaunchResult withOwnerId(String ownerId)
The owner ID for the Windows AMI for which faster launching was enabled.
ownerId
- The owner ID for the Windows AMI for which faster launching was enabled.public void setState(String state)
The current state of faster launching for the specified Windows AMI.
state
- The current state of faster launching for the specified Windows AMI.FastLaunchStateCode
public String getState()
The current state of faster launching for the specified Windows AMI.
FastLaunchStateCode
public EnableFastLaunchResult withState(String state)
The current state of faster launching for the specified Windows AMI.
state
- The current state of faster launching for the specified Windows AMI.FastLaunchStateCode
public EnableFastLaunchResult withState(FastLaunchStateCode state)
The current state of faster launching for the specified Windows AMI.
state
- The current state of faster launching for the specified Windows AMI.FastLaunchStateCode
public void setStateTransitionReason(String stateTransitionReason)
The reason that the state changed for faster launching for the Windows AMI.
stateTransitionReason
- The reason that the state changed for faster launching for the Windows AMI.public String getStateTransitionReason()
The reason that the state changed for faster launching for the Windows AMI.
public EnableFastLaunchResult withStateTransitionReason(String stateTransitionReason)
The reason that the state changed for faster launching for the Windows AMI.
stateTransitionReason
- The reason that the state changed for faster launching for the Windows AMI.public void setStateTransitionTime(Date stateTransitionTime)
The time that the state changed for faster launching for the Windows AMI.
stateTransitionTime
- The time that the state changed for faster launching for the Windows AMI.public Date getStateTransitionTime()
The time that the state changed for faster launching for the Windows AMI.
public EnableFastLaunchResult withStateTransitionTime(Date stateTransitionTime)
The time that the state changed for faster launching for the Windows AMI.
stateTransitionTime
- The time that the state changed for faster launching for the Windows AMI.public String toString()
toString
in class Object
Object.toString()
public EnableFastLaunchResult clone()