@Generated(value="software.amazon.awssdk:codegen") public final class DisableFastLaunchResponse extends Ec2Response implements ToCopyableBuilder<DisableFastLaunchResponse.Builder,DisableFastLaunchResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DisableFastLaunchResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DisableFastLaunchResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageId()
The ID of the image for which faster-launching has been turned off.
|
FastLaunchLaunchTemplateSpecificationResponse |
launchTemplate()
The launch template that was used to launch Windows instances from pre-provisioned snapshots.
|
Integer |
maxParallelLaunches()
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots
for Windows faster launching.
|
String |
ownerId()
The owner of the Windows AMI for which faster launching was turned off.
|
FastLaunchResourceType |
resourceType()
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.
|
String |
resourceTypeAsString()
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DisableFastLaunchResponse.Builder> |
serializableBuilderClass() |
FastLaunchSnapshotConfigurationResponse |
snapshotConfiguration()
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off.
|
FastLaunchStateCode |
state()
The current state of faster launching for the specified Windows AMI.
|
String |
stateAsString()
The current state of faster launching for the specified Windows AMI.
|
String |
stateTransitionReason()
The reason that the state changed for faster launching for the Windows AMI.
|
Instant |
stateTransitionTime()
The time that the state changed for faster launching for the Windows AMI.
|
DisableFastLaunchResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String imageId()
The ID of the image for which faster-launching has been turned off.
public final FastLaunchResourceType resourceType()
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.
Supported values include: snapshot
.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return FastLaunchResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from resourceTypeAsString()
.
snapshot
.FastLaunchResourceType
public final String resourceTypeAsString()
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.
Supported values include: snapshot
.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return FastLaunchResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from resourceTypeAsString()
.
snapshot
.FastLaunchResourceType
public final FastLaunchSnapshotConfigurationResponse snapshotConfiguration()
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.
public final FastLaunchLaunchTemplateSpecificationResponse launchTemplate()
The launch template that was used to launch Windows instances from pre-provisioned snapshots.
public final Integer maxParallelLaunches()
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.
public final String ownerId()
The owner of the Windows AMI for which faster launching was turned off.
public final FastLaunchStateCode state()
The current state of faster launching for the specified Windows AMI.
If the service returns an enum value that is not available in the current SDK version, state
will return
FastLaunchStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
FastLaunchStateCode
public final String stateAsString()
The current state of faster launching for the specified Windows AMI.
If the service returns an enum value that is not available in the current SDK version, state
will return
FastLaunchStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
FastLaunchStateCode
public final String stateTransitionReason()
The reason that the state changed for faster launching for the Windows AMI.
public final Instant stateTransitionTime()
The time that the state changed for faster launching for the Windows AMI.
public DisableFastLaunchResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DisableFastLaunchResponse.Builder,DisableFastLaunchResponse>
toBuilder
in class AwsResponse
public static DisableFastLaunchResponse.Builder builder()
public static Class<? extends DisableFastLaunchResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2023. All rights reserved.