Interface EC2InstanceLimit.Builder

  • Method Details

    • 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

      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:
    • 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 as us-west-2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.