public FleetAttributes withInstanceType(String instanceType) {
        setInstanceType(instanceType);
        return this;
    }
<p>
The Amazon EC2 instance type that the fleet uses. Instance type determines the computing resources of each
instance in the fleet, including CPU, memory, storage, and networking capacity. See <a
href="http://aws.amazon.com/ec2/instance-types/">Amazon Elastic Compute Cloud Instance Types</a> for detailed
descriptions. This attribute is used with fleets where <code>ComputeType</code> is "EC2" or "Container".
</p>

@param instanceType
       The Amazon EC2 instance type that the fleet uses. Instance type determines the computing resources of each
       instance in the fleet, including CPU, memory, storage, and networking capacity. See <a
       href="http://aws.amazon.com/ec2/instance-types/">Amazon Elastic Compute Cloud Instance Types</a> for
       detailed descriptions. This attribute is used with fleets where <code>ComputeType</code> is "EC2" or
       "Container".
@return Returns a reference to this object so that method calls can be chained together.
@see EC2InstanceType
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/FleetAttributes.java