Interface EC2InstanceLimit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>,SdkBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>,SdkPojo
- Enclosing class:
- EC2InstanceLimit
public static interface EC2InstanceLimit.Builder extends SdkPojo, CopyableBuilder<EC2InstanceLimit.Builder,EC2InstanceLimit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EC2InstanceLimit.BuildercurrentInstances(Integer currentInstances)The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.EC2InstanceLimit.Builderec2InstanceType(String ec2InstanceType)The name of an Amazon EC2 instance type.EC2InstanceLimit.Builderec2InstanceType(EC2InstanceType ec2InstanceType)The name of an Amazon EC2 instance type.EC2InstanceLimit.BuilderinstanceLimit(Integer instanceLimit)The number of instances that is allowed for the specified instance type and location.EC2InstanceLimit.Builderlocation(String 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, sdkFields
-
-
-
-
Method Detail
-
ec2InstanceType
EC2InstanceLimit.Builder ec2InstanceType(String 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,EC2InstanceType
-
ec2InstanceType
EC2InstanceLimit.Builder ec2InstanceType(EC2InstanceType 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,EC2InstanceType
-
currentInstances
EC2InstanceLimit.Builder currentInstances(Integer 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
EC2InstanceLimit.Builder instanceLimit(Integer 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
EC2InstanceLimit.Builder location(String 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.
-
-