Interface EC2InstanceLimit.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EC2InstanceLimit.Builder,
,EC2InstanceLimit> SdkBuilder<EC2InstanceLimit.Builder,
,EC2InstanceLimit> SdkPojo
- Enclosing class:
EC2InstanceLimit
@Mutable
@NotThreadSafe
public static interface EC2InstanceLimit.Builder
extends SdkPojo, CopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>
-
Method Summary
Modifier and TypeMethodDescriptioncurrentInstances
(Integer currentInstances) The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.ec2InstanceType
(String ec2InstanceType) The name of an Amazon EC2 instance type.ec2InstanceType
(EC2InstanceType ec2InstanceType) The name of an Amazon EC2 instance type.instanceLimit
(Integer instanceLimit) The number of instances that is allowed for the specified instance type and location.An Amazon Web Services Region code, such asus-west-2
.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 Details
-
ec2InstanceType
The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.
- Parameters:
ec2InstanceType
- The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2InstanceType
The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.
- Parameters:
ec2InstanceType
- The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentInstances
The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.
- Parameters:
currentInstances
- The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceLimit
The number of instances that is allowed for the specified instance type and location.
- Parameters:
instanceLimit
- The number of instances that is allowed for the specified instance type and location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
An Amazon Web Services Region code, such as
us-west-2
.- Parameters:
location
- An Amazon Web Services Region code, such asus-west-2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-