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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchInstancesError.BuilderavailabilityZone(String availabilityZone)The Availability Zone where the instance launch was attempted.LaunchInstancesError.BuilderavailabilityZoneId(String availabilityZoneId)The Availability Zone ID where the launch error occurred.LaunchInstancesError.BuildererrorCode(String errorCode)The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).LaunchInstancesError.BuildererrorMessage(String errorMessage)A descriptive message providing details about the error encountered during the launch attempt.LaunchInstancesError.BuilderinstanceType(String instanceType)The instance type that failed to launch.LaunchInstancesError.BuildermarketType(String marketType)The market type (On-Demand or Spot) that encountered the launch error.LaunchInstancesError.BuildersubnetId(String subnetId)The subnet ID where the instance launch was attempted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceType
LaunchInstancesError.Builder instanceType(String 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
LaunchInstancesError.Builder marketType(String 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
LaunchInstancesError.Builder subnetId(String 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
LaunchInstancesError.Builder availabilityZone(String 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
LaunchInstancesError.Builder availabilityZoneId(String 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
LaunchInstancesError.Builder errorCode(String 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
LaunchInstancesError.Builder errorMessage(String 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.
-
-