public CreateLaunchProfileRequest withEc2SubnetIds(java.util.Collection<String> ec2SubnetIds) {
        setEc2SubnetIds(ec2SubnetIds);
        return this;
    }
<p>
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support
the specified instance types.
</p>

@param ec2SubnetIds
       Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must
       support the specified instance types.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-nimblestudio/src/main/java/com/amazonaws/services/nimblestudio/model/CreateLaunchProfileRequest.java