Interface LaunchInstancesError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchInstancesError.Builder,,LaunchInstancesError> SdkBuilder<LaunchInstancesError.Builder,,LaunchInstancesError> SdkPojo
- Enclosing class:
LaunchInstancesError
@Mutable
@NotThreadSafe
public static interface LaunchInstancesError.Builder
extends SdkPojo, CopyableBuilder<LaunchInstancesError.Builder,LaunchInstancesError>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone where the instance launch was attempted.availabilityZoneId(String availabilityZoneId) The Availability Zone ID where the launch error occurred.The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).errorMessage(String errorMessage) A descriptive message providing details about the error encountered during the launch attempt.instanceType(String instanceType) The instance type that failed to launch.marketType(String marketType) The market type (On-Demand or Spot) that encountered the launch error.The subnet ID where the instance launch was attempted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceType
The instance type that failed to launch.
- Parameters:
instanceType- The instance type that failed to launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marketType
The market type (On-Demand or Spot) that encountered the launch error.
- Parameters:
marketType- The market type (On-Demand or Spot) that encountered the launch error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The subnet ID where the instance launch was attempted.
- Parameters:
subnetId- The subnet ID where the instance launch was attempted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone where the instance launch was attempted.
- Parameters:
availabilityZone- The Availability Zone where the instance launch was attempted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The Availability Zone ID where the launch error occurred.
- Parameters:
availabilityZoneId- The Availability Zone ID where the launch error occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).
- Parameters:
errorCode- The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A descriptive message providing details about the error encountered during the launch attempt.
- Parameters:
errorMessage- A descriptive message providing details about the error encountered during the launch attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-